Forming out of bound address in charmap.cpp
-------------------------------------------
Key: STDCXX-753
URL: https://issues.apache.org/jira/browse/STDCXX-753
Project: C++ Standard Library
Issue Type: Sub-task
Components: 20. General Utilities
Affects Versions: 4.2.0
Environment: $ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
Reporter: Scott (Yu) Zhong
Fix For: 4.2.1
"/amd/devco/scottz/stdcxx/4.2.x/util/charmap.cpp", line 222, procedure
convert_to_ucs: warning #20208-D: Forming out of bound address (In expression
"(const unsigned char*)utf8_enc+num_bytes+-1", variable "utf8_enc"
[/amd/devco/scottz/stdcxx/4.2.x/util/charmap.cpp:674] (type: char [5]) has byte
range [0 .. 4], forming address byte range [-1 .. 5].)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.