summaryrefslogtreecommitdiff
path: root/third_party/pymock
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-29 13:08:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-29 13:08:25 -0700
commitc116e597ef4dfac88248d6de0e7c9bdf093b6e7c (patch)
tree94d75c895e6ad0a68ba000393e1e4251d93428f7 /third_party/pymock
parent91ddd3f7501429222f648b986a99f3959a398889 (diff)
downloadpdfium-c116e597ef4dfac88248d6de0e7c9bdf093b6e7c.tar.xz
Verify element exists before accessing.
Currently when the parser utility classes are outputting to a text buffer we do not verify that an element from an array exists before accessing. We can have null items in arrays (and dictionaries but the dictionary case is already handled). This Cl updates the code to check the element exists before attempting to use the element. BUG=chromium:641076 Review-Url: https://codereview.chromium.org/2292473004
Diffstat (limited to 'third_party/pymock')
0 files changed, 0 insertions, 0 deletions