diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-06 08:56:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-06 08:56:46 -0700 |
commit | 8e783a6b2c165b5d3dcdf9e4d4c2526ac18c77c8 (patch) | |
tree | c074706de18d6edeb1d5937614172ea826d2e05f /third_party/libpng16/README.pdfium | |
parent | 155c88006a4367bb09631c3ca4983ef48e06bc62 (diff) | |
download | pdfium-8e783a6b2c165b5d3dcdf9e4d4c2526ac18c77c8.tar.xz |
Avoid leaking params if any entry bad.
The call to png_set_pCAL can call into png_error for several reasons. This CL
verifies that the params are valid before calling into png_set_pCAL.
BUG=chromium:636214
Review-Url: https://codereview.chromium.org/2292313003
Diffstat (limited to 'third_party/libpng16/README.pdfium')
-rw-r--r-- | third_party/libpng16/README.pdfium | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/libpng16/README.pdfium b/third_party/libpng16/README.pdfium index 733867b782..47af52f8b6 100644 --- a/third_party/libpng16/README.pdfium +++ b/third_party/libpng16/README.pdfium @@ -17,3 +17,4 @@ pnglibconf.h: a copy of libpng's scripts/pnglibconf.h.prebuilt. pngprefix.h: manually-created redefinitions to avoid conflicts with Chromium. 0000-build-config.patch: Local build configuration changes. 0002-static-png-gt.patch: Unconditionally use static png_gt() in png.c to avoid compilation warning. +0003-check-errors-in-set-pcal.patch: Backported github.com/glennrp/libpng/pull/135 |