You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Martin Sebor <se...@roguewave.com> on 2008/03/13 18:38:07 UTC

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

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