Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text#117192
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text#117192MohamedChaawa wants to merge 15 commits intodotnet:mainfrom
Conversation
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text. When the lengthOrIndicator is 0 the loop should be broken. This change fixes the issue dotnet#86490
src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcDataReader.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcDataReader.cs
Outdated
Show resolved
Hide resolved
|
Is it possible to add a test for this? |
|
@dotnet-policy-service agree |
@stephentoub OdbcDataReaderTests is added. |
…owedByNoData to ReaderTests
|
Thanks. I pulled down your change and tried running the test without the fix, and it still passes. Is this test validating what you expect it to validate? |
|
Tagging subscribers to this area: @roji, @SamMonoRT |
|
This pull request has been automatically marked |
|
This pull request will now be closed since it had been marked |
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text.
When the lengthOrIndicator is 0 the loop should be broken.
This change fixes the issue #86490