summaryrefslogtreecommitdiff
path: root/fxjs/cjs_scalehow.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-03-15 15:21:57 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-15 15:21:57 +0000
commitd14dd4316d04f0982c340ad25bb283198a4d5c32 (patch)
treef2fb7387cb2a4b120409f529e29436e629f51f81 /fxjs/cjs_scalehow.cpp
parentc2d9e2d00ee871fa538bc46c8209e98ab9a30c44 (diff)
downloadpdfium-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 'fxjs/cjs_scalehow.cpp')
0 files changed, 0 insertions, 0 deletions