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/14 19:02:24 UTC

[jira] Created: (STDCXX-762) Out of bound access in opt_diags.cpp

Out of bound access in opt_diags.cpp
------------------------------------

                 Key: STDCXX-762
                 URL: https://issues.apache.org/jira/browse/STDCXX-762
             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


"/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].)


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


[jira] Updated: (STDCXX-762) [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp

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

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

    Summary: [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp  (was: [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
> -----------------------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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/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].)

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


[jira] Resolved: (STDCXX-762) [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp

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

Martin Sebor resolved STDCXX-762.
---------------------------------

    Resolution: Fixed

The warnings seem to have disappeared, possibly as a result of [r650742|http://svn.apache.org/viewvc?rev=650742&view=rev].
A few new ones that had appeared in their place have been squashed in [r650748|http://svn.apache.org/viewvc?rev=650748&view=rev].

> [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp
> -----------------------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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].)

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


[jira] Updated: (STDCXX-762) Out of bound access and Forming out of bound address in opt_diags.cpp

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

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

    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].)


  was:
"/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].)


        Summary: Out of bound access and Forming out of bound address in opt_diags.cpp  (was: Out of bound access in opt_diags.cpp)

> Out of bound access and Forming out of bound address in opt_diags.cpp
> ---------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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/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].)

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


[jira] Updated: (STDCXX-762) [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp

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

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

    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/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].)


  was:
"/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].)



> [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp
> -----------------------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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
>
> 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].)

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


[jira] Assigned: (STDCXX-762) [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp

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

Martin Sebor reassigned STDCXX-762:
-----------------------------------

    Assignee: Martin Sebor

> [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp
> -----------------------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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].)

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


[jira] Updated: (STDCXX-762) [HP aCC 6.15] Out of bound access and Forming out of bound address in opt_diags.cpp

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

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

    Summary: [HP aCC 6.15] Out of bound access and Forming out of bound address in opt_diags.cpp  (was: 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
> -----------------------------------------------------------------------------------
>
>                 Key: STDCXX-762
>                 URL: https://issues.apache.org/jira/browse/STDCXX-762
>             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/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].)

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