Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile warning: static string out-of-bounds access #115

Open
GoogleCodeExporter opened this issue Apr 10, 2015 · 0 comments
Open

Compile warning: static string out-of-bounds access #115

GoogleCodeExporter opened this issue Apr 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

On a fresh ChromiumOS checkout, a build following the directions at [ 
http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/building-chromiu
m-browser ] gives the following warning:

CXX 
obj/third_party/pdfium/core/src/fpdfapi/fpdf_parser/fpdfapi.fpdf_parser_parser.o
../../third_party/pdfium/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp: 
In member function 'CPDF_Object* 
CPDF_SyntaxParser::GetObjectByStrict(CPDF_IndirectObjects*, FX_DWORD, FX_DWORD, 
PARSE_CONTEXT*)':
../../third_party/pdfium/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:238
9:92: warning: offset outside bounds of constant string
                 pDict->AddValue(CFX_ByteStringC(key.c_str() + 1, key.GetLength() - 1), pObj);

There is an in-progress CL to address this, but it seems to have gone stale: 
https://codereview.chromium.org/716103002

Original issue reported on code.google.com by [email protected] on 5 Feb 2015 at 2:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant