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 18:00:24 UTC

[jira] Created: (STDCXX-745) Potential null pointer dereference in locale_body.cpp

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


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


Re: [jira] Created: (STDCXX-745) Potential null pointer dereference in locale_body.cpp

Posted by Martin Sebor <se...@roguewave.com>.
Scott, if you expect to be creating a bunch of these please try to
remember to prepend the platform string to the tile of each subtask
the same way STDCXX-729 does. Our filters key in on it when looking
for platform-specific issues.

Alternatively, if it looks like there might be too many subtasks,
it might make sense to create just one for all examples, another
one for all tests, one for utilities, and so on. Whatever makes
the most sense.

http://issues.apache.org/jira/browse/STDCXX-729

Thanks
Martin

Scott (Yu) Zhong (JIRA) wrote:
> 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
> 
> 
> "/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)
> 
> 


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ 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.


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

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

Martin Sebor updated STDCXX-745:
--------------------------------

    Remaining Estimate: 1h  (was: 0h)

Still need to figure out how to silence the warning and do it.

> [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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 1h
>
> "/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.


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

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

Martin Sebor reassigned STDCXX-745:
-----------------------------------

    Assignee: Martin Sebor

> [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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> "/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.


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

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

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

    Description: 
aCC -c    -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/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  +Z  /amd/devco/scottz/stdcxx/4.2.
x/src/locale_body.cpp

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


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



add compile line.

> [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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 1h
>
> aCC -c    -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/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  +Z  /amd/devco/scottz/stdcxx/4.2.
> x/src/locale_body.cpp
> "/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.


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

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

Martin Sebor closed STDCXX-745.
-------------------------------

    Resolution: Fixed

Warning suppressed in [r651029|http://svn.apache.org/viewvc?rev=651029&view=rev].

> [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
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 1h
>
> aCC -c    -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/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  +Z  /amd/devco/scottz/stdcxx/4.2.
> x/src/locale_body.cpp
> "/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.


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

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

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

    Summary: [HP aCC 6.16] Potential null pointer dereference in locale_body.cpp  (was: Potential null pointer dereference in locale_body.cpp)

> [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.