Issue Details (XML | Word | Printable)

Key: STDCXX-762
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Martin Sebor
Reporter: Scott (Yu) Zhong
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library
STDCXX-726

[HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp

Created: 14/Mar/08 06:01 PM   Updated: 23/Apr/08 05:14 AM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 1h
Time Spent - 1h Remaining Estimate - 1h
Time Spent: 1h
Time Spent - 1h Remaining Estimate - 1h

Environment:
$ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]

Resolution Date: 23/Apr/08 05:14 AM


 Description  « Hide
aCC -c -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/include -I/amd/devco/scottz/stdcxx/4.2.x/tests/include -AA +O2 +DD64
+w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 +W2401 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 +W4284 +
W4285 +W4286 /amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20206-D: Out of bound access (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], reading byte range [0 .. 1407].)

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20208-D: Forming out of bound address (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], forming address byte range [0 .. 1407].)



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Scott (Yu) Zhong made changes - 14/Mar/08 06:03 PM
Field Original Value New Value
Description "/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20206-D: Out of bound access (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], reading byte range [0 .. 1407].)
"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20206-D: Out of bound access (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], reading byte range [0 .. 1407].)

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20208-D: Forming out of bound address (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], forming address byte range [0 .. 1407].)
Summary Out of bound access in opt_diags.cpp Out of bound access and Forming out of bound address in opt_diags.cpp
Scott (Yu) Zhong made changes - 17/Mar/08 04:25 PM
Summary Out of bound access and Forming out of bound address in opt_diags.cpp [HP aCC 6.15] Out of bound access and Forming out of bound address in opt_diags.cpp
Scott (Yu) Zhong made changes - 17/Mar/08 05:34 PM
Summary [HP aCC 6.15] Out of bound access and Forming out of bound address in opt_diags.cpp [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp
Scott (Yu) Zhong made changes - 31/Mar/08 05:34 AM
Description "/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20206-D: Out of bound access (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], reading byte range [0 .. 1407].)

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20208-D: Forming out of bound address (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], forming address byte range [0 .. 1407].)
aCC -c -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/include -I/amd/devco/scottz/stdcxx/4.2.x/tests/include -AA +O2 +DD64
 +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 +W2401 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 +W4284 +
W4285 +W4286 /amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20206-D: Out of bound access (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], reading byte range [0 .. 1407].)

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp", line 169, procedure _rw_setopt_diags: warning #20208-D: Forming out of bound address (In expression "(struct esc_text_t*)_rw_vt100_attribs+i", variable "_rw_vt100_attribs" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/opt_diags.cpp:143] (type: struct esc_text_t [7]) has byte range [0 .. 1231], forming address byte range [0 .. 1407].)
Martin Sebor made changes - 23/Apr/08 05:11 AM
Assignee Martin Sebor [ sebor ]
Martin Sebor logged work - 23/Apr/08 05:14 AM
Time Worked: 1h
Silenced warning(s).
Martin Sebor added a comment - 23/Apr/08 05:14 AM
The warnings seem to have disappeared, possibly as a result of r650742.
A few new ones that had appeared in their place have been squashed in r650748.

Martin Sebor made changes - 23/Apr/08 05:14 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Martin Sebor made changes - 23/Apr/08 05:14 AM
Time Spent 1h [ 3600 ]
Remaining Estimate 2h [ 7200 ] 1h [ 3600 ]