Repository navigation
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text - #102885
MohamedChaawa wants to merge 1 commit into
Conversation
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text Issue: #86490
|
Tagging subscribers to this area: @roji, @ajcvickers |
|
Can you please review this PR? @SamMonoRT @roji @ajcvickers |
| if (0 == lengthOrIndicator) | ||
| { | ||
| break; // done | ||
| } |
There was a problem hiding this comment.
Is there any way to add a test for this?
|
@roji @AndriySvyryd Any news about this pullrequest review please? |
|
@MohamedChaawa can you please address the comment above about adding a test? |
|
This pull request has been automatically marked |
| // followed by exception. I did not add it now to avoid breaking change | ||
| Debug.Assert(lengthOrIndicator >= 0 || lengthOrIndicator == ODBC32.SQL_NO_TOTAL, "unexpected lengthOrIndicator value"); | ||
|
|
||
| if (0 == lengthOrIndicator) |
There was a problem hiding this comment.
| if (0 == lengthOrIndicator) | |
| if (lengthOrIndicator == 0) |
|
This pull request will now be closed since it had been marked |
Fix Infinite loop on OdbcDataReader.internalGetString with UTF-8 text
Issue: #86490