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

[jira] Issue Comment Edited: (STDCXX-745) [HP aCC 6.16] Potential null pointer dereference in locale_body.cpp

    [ https://issues.apache.org/jira/browse/STDCXX-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580036#action_12580036 ] 

sebor edited comment on STDCXX-745 at 3/18/08 1:12 PM:
--------------------------------------------------------------

The warning on line 567 is due to the cadvise bug described in STDCXX-785.
The warning on line 309 is due to the cadvise bug described in STDCXX-764.

The warnings on line 196 and 225 are suppressed by the assertions on preceding lines in debug builds but since we remove {{assert()}} statements in optimized builds they pop up there...

      was (Author: sebor):
    The warning on line 309 is due to the cadvise bug described in STDCXX-764.
  
> [HP aCC 6.16] Potential null pointer dereference in locale_body.cpp
> -------------------------------------------------------------------
>
>                 Key: STDCXX-745
>                 URL: https://issues.apache.org/jira/browse/STDCXX-745
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: 22. Localization
>    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/src/locale_body.cpp", line 567, procedure __rw_locale: warning #20200-D: Potential null pointer dereference through
>  nm is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp, line 567)
> "/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp", line 309, procedure __rw::__rw_expand_name: warning #20200-D: Potential null pointer derefere
> nce through sep is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp, line 270)
> "/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp", line 196, procedure _C_get_cat_names: warning #20200-D: Potential null pointer dereference th
> rough cat_name is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp, line 142)
> "/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp", line 216, procedure _C_get_cat_names: warning #20200-D: Potential null pointer dereference th
> rough buf is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp, line 199)
> "/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp", line 225, procedure _C_get_cat_names: warning #20200-D: Potential null pointer dereference th
> rough common_name is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/src/locale_body.cpp, line 134)

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