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 19:00:25 UTC

[jira] Created: (STDCXX-748) Potential null pointer dereference in _array.h

Potential null pointer dereference in _array.h
----------------------------------------------

                 Key: STDCXX-748
                 URL: https://issues.apache.org/jira/browse/STDCXX-748
             Project: C++ Standard Library
          Issue Type: Sub-task
    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/include/valarray", line 2087, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is
 detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/include/rw/_array.h, line 137)


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


[jira] Updated: (STDCXX-748) [HP aCC 6.15] Potential null pointer dereference in _array.h

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

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

    Summary: [HP aCC 6.15] Potential null pointer dereference in _array.h  (was: Potential null pointer dereference in _array.h)

> [HP aCC 6.15] Potential null pointer dereference in _array.h
> ------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>    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/include/valarray", line 2087, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is
>  detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/include/rw/_array.h, line 137)

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


[jira] Updated: (STDCXX-748) [HP aCC 6.16] Potential null pointer dereference in

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

Martin Sebor updated STDCXX-748:
--------------------------------

    Component/s: 26. Numerics
    Description: 
Compiling the {{indirect_array.cpp}} example with HP aCC 6.16 with optimization produces the following warning:
{noformat}
aCC -c    -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/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   \
    $(TOPDIR)/examples/manual/indirect_array.cpp
"$(TOPDIR)/include/valarray", line 2305, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is detected (null definition:$(TOPDIR)/include/rw/_array.h, line 137)
{noformat}

  was:
"/amd/devco/scottz/stdcxx/4.2.x/include/valarray", line 2087, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is
 detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/include/rw/_array.h, line 137)


       Assignee: Martin Sebor

Included the context of the warning, including the full command line.
Set Component/s.
Assigned to self.

> [HP aCC 6.16] Potential null pointer dereference in <valarray>
> --------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 26. Numerics
>    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
>
> Compiling the {{indirect_array.cpp}} example with HP aCC 6.16 with optimization produces the following warning:
> {noformat}
> aCC -c    -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/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   \
>     $(TOPDIR)/examples/manual/indirect_array.cpp
> "$(TOPDIR)/include/valarray", line 2305, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is detected (null definition:$(TOPDIR)/include/rw/_array.h, line 137)
> {noformat}

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


[jira] Updated: (STDCXX-748) [HP aCC 6.16] Potential null pointer dereference in _array.h

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

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

    Summary: [HP aCC 6.16] Potential null pointer dereference in _array.h  (was: [HP aCC 6.15] Potential null pointer dereference in _array.h)

> [HP aCC 6.16] Potential null pointer dereference in _array.h
> ------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>    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/include/valarray", line 2087, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is
>  detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/include/rw/_array.h, line 137)

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


[jira] Updated: (STDCXX-748) [HP aCC 6.16] Potential null pointer dereference in

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

Martin Sebor updated STDCXX-748:
--------------------------------

    Summary: [HP aCC 6.16] Potential null pointer dereference in <valarray>  (was: [HP aCC 6.16] Potential null pointer dereference in _array.h)

The warning is for {{<valarray>}}. Corrected Summary.

> [HP aCC 6.16] Potential null pointer dereference in <valarray>
> --------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>    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/include/valarray", line 2087, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is
>  detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/include/rw/_array.h, line 137)

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


[jira] Resolved: (STDCXX-748) [HP aCC 6.16] Potential null pointer dereference in

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

Martin Sebor resolved STDCXX-748.
---------------------------------

    Resolution: Fixed

Warning silenced in [r640582|http://svn.apache.org/viewvc?rev=640582&view=rev].
Will close after integrating to 4.2.x in the next bulk merge.

> [HP aCC 6.16] Potential null pointer dereference in <valarray>
> --------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 26. Numerics
>    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
>
> Compiling the {{indirect_array.cpp}} example with HP aCC 6.16 with optimization produces the following warning:
> {noformat}
> aCC -c    -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/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   \
>     $(TOPDIR)/examples/manual/indirect_array.cpp
> "$(TOPDIR)/include/valarray", line 2305, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is detected (null definition:$(TOPDIR)/include/rw/_array.h, line 137)
> {noformat}

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


[jira] Commented: (STDCXX-748) [HP aCC 6.16] Potential null pointer dereference in

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

Farid Zaripov commented on STDCXX-748:
--------------------------------------

Merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752

> [HP aCC 6.16] Potential null pointer dereference in <valarray>
> --------------------------------------------------------------
>
>                 Key: STDCXX-748
>                 URL: https://issues.apache.org/jira/browse/STDCXX-748
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 26. Numerics
>    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: 4h
>  Remaining Estimate: 0h
>
> Compiling the {{indirect_array.cpp}} example with HP aCC 6.16 with optimization produces the following warning:
> {noformat}
> aCC -c    -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/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   \
>     $(TOPDIR)/examples/manual/indirect_array.cpp
> "$(TOPDIR)/include/valarray", line 2305, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is detected (null definition:$(TOPDIR)/include/rw/_array.h, line 137)
> {noformat}

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