summaryrefslogtreecommitdiff
path: root/core/src/fpdftext/fpdf_text_int.cpp
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-12-17 16:47:14 -0800
committerOliver Chang <ochang@chromium.org>2015-12-17 16:47:14 -0800
commit391783579c5a8aad346b56903b51e6551600550b (patch)
tree0f993737e07a83ee080fb4029c00c410747db2d8 /core/src/fpdftext/fpdf_text_int.cpp
parentfed9dd90c086c854ef13440e6022602eb9f91cfc (diff)
downloadpdfium-391783579c5a8aad346b56903b51e6551600550b.tar.xz
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. R=tsepez@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1534953002 .
Diffstat (limited to 'core/src/fpdftext/fpdf_text_int.cpp')
0 files changed, 0 insertions, 0 deletions