You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org> on 2008/03/13 22:20:24 UTC

[jira] Created: (STDCXX-759) Out of bound access in 21.strings.cpp

Out of bound access in 21.strings.cpp
-------------------------------------

                 Key: STDCXX-759
                 URL: https://issues.apache.org/jira/browse/STDCXX-759
             Project: C++ Standard Library
          Issue Type: Sub-task
          Components: 21. Strings
    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/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
"/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)


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


[jira] Commented: (STDCXX-759) Out of bound access in 21.strings.cpp

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578728#action_12578728 ] 

Farid Zaripov commented on STDCXX-759:
--------------------------------------

Unable to reproduce warning on HP testdrive server:

$ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.14 [Feb 22 2007]

> Out of bound access in 21.strings.cpp
> -------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Updated: (STDCXX-759) [HP aCC 6.15] Out of bound access in 21.strings.cpp

Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Summary: [HP aCC 6.15] Out of bound access in 21.strings.cpp  (was: Out of bound access in 21.strings.cpp)

> [HP aCC 6.15] Out of bound access in 21.strings.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Updated: (STDCXX-759) [HP aCC 6.16] Out of bound access in 21.strings.cpp

Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Description: 
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/21.strings.cpp

"/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
"/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)


  was:
"/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
"/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)



add compile line to description

> [HP aCC 6.16] Out of bound access in 21.strings.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> 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/21.strings.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Updated: (STDCXX-759) [HP aCC 6.16] Out of bound access in 21.strings.cpp

Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Summary: [HP aCC 6.16] Out of bound access in 21.strings.cpp  (was: [HP aCC 6.15] Out of bound access in 21.strings.cpp)

> [HP aCC 6.16] Out of bound access in 21.strings.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Closed: (STDCXX-759) [HP aCC 6.16] Out of bound access in 21.strings.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-759.
-------------------------------

    Assignee: Martin Sebor

Warning's gone.

> [HP aCC 6.16] Out of bound access in 21.strings.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> 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/21.strings.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Assigned: (STDCXX-759) Out of bound access in 21.strings.cpp

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov reassigned STDCXX-759:
------------------------------------

    Assignee:     (was: Farid Zaripov)

Remove assignment the issue to me, since I have no access to latest aCC and on aCC installed on HP testdrive server this issue is not reproduced.

> Out of bound access in 21.strings.cpp
> -------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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


[jira] Resolved: (STDCXX-759) [HP aCC 6.16] Out of bound access in 21.strings.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor resolved STDCXX-759.
---------------------------------

    Resolution: Fixed

Fixed as a result of [r650742|http://svn.apache.org/viewvc?rev=650742&view=rev].

> [HP aCC 6.16] Out of bound access in 21.strings.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-759
>                 URL: https://issues.apache.org/jira/browse/STDCXX-759
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 21. Strings
>    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
>          Time Spent: 1h
>  Remaining Estimate: 1h
>
> 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/21.strings.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

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