diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-03-15 15:21:57 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-15 15:21:57 +0000 |
commit | d14dd4316d04f0982c340ad25bb283198a4d5c32 (patch) | |
tree | f2fb7387cb2a4b120409f529e29436e629f51f81 /core/fpdfapi/render | |
parent | c2d9e2d00ee871fa538bc46c8209e98ab9a30c44 (diff) | |
download | pdfium-d14dd4316d04f0982c340ad25bb283198a4d5c32.tar.xz |
Fixing order of guards to avoid potential segvs
Per tspepez's drive by:
str, in theory, might not be terminated, and might have been allocated
right up to a guard page at the end of the heap, say, so that str[len]
could segv.
Change-Id: I6cba7b6d12b23f69e6f150c1b5296df65c2e0086
Reviewed-on: https://pdfium-review.googlesource.com/28610
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/render')
0 files changed, 0 insertions, 0 deletions