stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott (Yu) Zhong (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp
Date Mon, 17 Mar 2008 19:14:24 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Scott (Yu) Zhong updated STDCXX-783:
------------------------------------

    Description: 
"/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp", line 317, procedure
test_random_shuffle: warning #20206-D: Out of bound access (In expression "&array[(long
long)i]", array "array" [/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp:237]
(type: int [256]) has element range [0 .. 255], reading element range [0 .. 256].)



  was:
"/amd/devco/scottz/stdcxx/4.2.x/tests/containers/23.bitset.cpp", line 127, procedure test_operators:
warning #20206-D: Out of bound access (In expression "memmove(&(&__tempVar_232)->bits_[30]+1
- (long long)(31 - n),&(&__tempVar_232)->bits_[(long long)(30 - n)]+1 - (long long)(31
- n),31 - n)", &(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n) (type: char
[32]) (defined by (&__tempVar_232)->bits_) has byte range [0 .. 31], writing byte range
[0 .. 60].)




> [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp
> ----------------------------------------------------------------------------
>
>                 Key: STDCXX-783
>                 URL: https://issues.apache.org/jira/browse/STDCXX-783
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: Tests
>    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
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> "/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp", line 317, procedure
test_random_shuffle: warning #20206-D: Out of bound access (In expression "&array[(long
long)i]", array "array" [/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp:237]
(type: int [256]) has element range [0 .. 255], reading element range [0 .. 256].)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message