summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc/doc_bookmark.cpp
diff options
context:
space:
mode:
authorBruce Dawson <brucedawson@google.com>2015-01-05 11:45:45 -0800
committerBruce Dawson <brucedawson@google.com>2015-01-05 11:45:45 -0800
commitbbd41bbd5e4ae9ca4f4a800c955471e41a947d98 (patch)
tree47db4f50ceb67e4682b53576093f0befd117ccaa /core/src/fpdfdoc/doc_bookmark.cpp
parentac1d7212cd1210548551618dd67c780af8a7f0e0 (diff)
downloadpdfium-bbd41bbd5e4ae9ca4f4a800c955471e41a947d98.tar.xz
Fix one remaining misuse of FX_WSTRC on FX_WCHAR* vars.
FX_WSTRC is only valid on arrays, not pointers. In this code it was being passed a pointer to a URL. This was found when integrating a change to FX_WSTRC that disallows pointer arguments. The consequence of this bug is that the URL will end up with incorrect lengths. It will be one character long in 32-bit builds, and three characters long in 64-bit builds (sizeof(WCHAR*)-1). R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/831293002
Diffstat (limited to 'core/src/fpdfdoc/doc_bookmark.cpp')
0 files changed, 0 insertions, 0 deletions