Menu

Commit [r1969]  Maximize  Restore  History

Fix heap-buffer-overflow in PdfString::ConvertUTF16toUTF8

I analyzed this based on a report to the podofo-users mailing list
(metadata below) and a PoC file attached to a post with the same (after
the brackets) subject to the podofo-svn mailing list. This is tested
with the PoC and podofo-test compiled with GCC 4.8.4, clang 3.8.1-12~bpo8+1
and on a newer system GCC 7.3.0 and clang 7.0.0.3~ubuntu0.18.04.1 also with
ASan (all OK).

Post-Subject: [Podofo-users] Seems bug in OutputInfoDict() in pdfinfo.cpp
Post-Approved-Date: Wed, 23 Jan 2019 21:15:05 +0000
Post-Message-ID: <CAD3bFv0VMb1DHK0wta0t=Xg45Oc0gW+iS1dYV-Cxpk7hKBoeZQ@...>
Post-Archive-Date: Date: Wed, 23 Jan 2019 19:53:59 +0000
Post-Archive-URL: https://sourceforge.net/p/podofo/mailman/message/36525641/

mabri 2019-02-23

changed /podofo/trunk/src/base/PdfString.cpp
/podofo/trunk/src/base/PdfString.cpp Diff Switch to side-by-side view
Loading...