diff options
author | Oliver Chang <ochang@chromium.org> | 2015-12-17 16:52:54 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-12-17 16:52:54 -0800 |
commit | b6718d06db22252fa44117cc3be11430da7779f9 (patch) | |
tree | 23234dfe9bbb84bb21ef014203a4db2603a56f08 /core/src/fpdftext/text_int.h | |
parent | bd6344d1138cf1f0e908ce4f8408c92a48c3b38a (diff) | |
download | pdfium-b6718d06db22252fa44117cc3be11430da7779f9.tar.xz |
Merge to XFA: Fix a sentinel length value used in CFX_CMapByteStringToPtr::SetAt
It looks like an key length of 0 was incorrectly assumed to
denote an free entry.
Fixes a memory leak in FPDFViewEmbeddertest.Crasher_451830 due to values with
empty keys being incorrectly overwritten.
TBR=tsepez@chromium.org
Original Review URL: https://codereview.chromium.org/1534953002 .
(cherry picked from commit 391783579c5a8aad346b56903b51e6551600550b)
Review URL: https://codereview.chromium.org/1532283002 .
Diffstat (limited to 'core/src/fpdftext/text_int.h')
0 files changed, 0 insertions, 0 deletions