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 21:18:24 UTC
[jira] Created: (STDCXX-749) Potential null pointer dereference in
time.cpp
Potential null pointer dereference in time.cpp
----------------------------------------------
Key: STDCXX-749
URL: https://issues.apache.org/jira/browse/STDCXX-749
Project: C++ Standard Library
Issue Type: Sub-task
Components: 20. General Utilities
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/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-749:
------------------------------------
Summary: [HP aCC 6.16] Potential null pointer dereference in time.cpp (was: [HP aCC 6.15] Potential null pointer dereference in time.cpp)
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: 20. General Utilities
> 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/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor reassigned STDCXX-749:
-----------------------------------
Assignee: Martin Sebor
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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
>
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by Martin Sebor <se...@roguewave.com>.
Thanks for updating the issues and adding the command line!
Btw., I noticed these are copies of your own build logs. You can
also get the warnings from the nightly builds referenced on this
page:
http://people.apache.org/~sebor/stdcxx/results/builds/hpux-11.31-ia64-6.16.html
Martin
Scott (Yu) Zhong (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Scott (Yu) Zhong updated STDCXX-749:
> ------------------------------------
>
> 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 /amd/devco/scottz/stdcxx/4.2.x/u
> til/time.cpp
>
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
>
>
> was:
> 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_name.cpp
>
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
>
>
>
>> [HP aCC 6.16] Potential null pointer dereference in time.cpp
>> ------------------------------------------------------------
>>
>> Key: STDCXX-749
>> URL: https://issues.apache.org/jira/browse/STDCXX-749
>> Project: C++ Standard Library
>> Issue Type: Sub-task
>> Components: Utilities
>> 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 -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/u
>> til/time.cpp
>> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
>> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
>> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
>
[jira] Updated: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-749:
------------------------------------
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 /amd/devco/scottz/stdcxx/4.2.x/u
til/time.cpp
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
was:
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_name.cpp
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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 -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/u
> til/time.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-749) [HP aCC 6.15] Potential null pointer
dereference in time.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-749:
------------------------------------
Summary: [HP aCC 6.15] Potential null pointer dereference in time.cpp (was: Potential null pointer dereference in time.cpp)
> [HP aCC 6.15] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: 20. General Utilities
> 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/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580871#action_12580871 ]
Martin Sebor commented on STDCXX-749:
-------------------------------------
Here's a test case that demonstrates that the warnings point out a moderately serious problem in the {{localedef}} utility: it crashes on invalid {{LC_TIME}} input, in particular when the {{era}} specification is incomplete:
{noformat}
$ cat >charmap<<EOF && cat >locale.src<<EOF && ../bin/localedef -c -w --notes -f charmap -i locale.src dummy && LC_TIME=dummy ../bin/locale -ck LC_TIME
CHARMAP
END CHARMAP
EOF
comment_char #
LC_TIME
# direction:offset:start_date:end_date:era_name:era_format
era "+1"
END LC_TIME
EOF
Note 801: processing character set description file charmap
Note 802: reading charmap
Note 801: processing CHARMAP section
Note 801: done processing CHARMAP section (1 tokens, 0 ellipses, 0 characters)
Note 801: processing locale definition file locale.src
Note 802: reading locale.src
Note 801: processing LC_TIME section
Segmentation fault
{noformat}
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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
>
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-749:
--------------------------------
Component/s: (was: 20. General Utilities)
Utilities
This affects the localedef utility.
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589974#action_12589974 ]
Farid Zaripov commented on STDCXX-749:
--------------------------------------
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 time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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: 1h
> 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 /amd/devco/scottz/stdcxx/4.2.x/u
> til/time.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580863#action_12580863 ]
Martin Sebor commented on STDCXX-749:
-------------------------------------
See this [post|http://www.nabble.com/-PATCH--STDCXX-749--HP-aCC-6.16--Potential-null-pointer-dereference-in-time.cpp-tt16183408.html] for a patch.
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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
>
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-749.
---------------------------------
Resolution: Fixed
Fix committed in [r646486|http://svn.apache.org/viewvc?rev=646486&view=rev].
Will close after adding a regression test and integrating both into 4.2.x in the next bulk merge.
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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 -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/u
> til/time.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-749) [HP aCC 6.16] Potential null pointer
dereference in time.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-749:
------------------------------------
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_name.cpp
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
was:
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
"/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
add compile line
> [HP aCC 6.16] Potential null pointer dereference in time.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-749
> URL: https://issues.apache.org/jira/browse/STDCXX-749
> Project: C++ Standard Library
> Issue Type: Sub-task
> Components: Utilities
> 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 -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_name.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 70, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 69)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 77, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 75)
> "/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp", line 97, procedure parse_era: warning #20200-D: Potential null pointer dereference through tokp is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/util/time.cpp, line 85)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.