[GitHub] [xerces-c] rouault opened a new pull request #2 4: ICUTranscoder::transcodeFrom(): fix read heap-buff er-overflow
GitBox <[email protected]>
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <xerces-c.24.MDExOlB1bGxSZXF1ZXN0NzA3MjIzNjgz.gitbox@gitbox.apache.org> |
rouault opened a new pull request #24: URL: https://github.com/apache/xerces-c/pull/24 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35373 When charsDecoded == 0, the line ``for (index = 0; index < charsDecoded - 1; index++)`` will cause to read out of bounds of fSrcOffsets, due to unsigned integer underflow rules. Can be verified with the attached (broken) XML file: [test.gml.zip](https://github.com/apache/xerces-c/files/6960822/test.gml.zip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]