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/02/13 22:17:08 UTC

[jira] Assigned: (STDCXX-726) [HP aCC 6.16] many cadvise warnings

     [ https://issues.apache.org/jira/browse/STDCXX-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-726:
-----------------------------------

    Assignee: Martin Sebor

> [HP aCC 6.16] many cadvise warnings
> -----------------------------------
>
>                 Key: STDCXX-726
>                 URL: https://issues.apache.org/jira/browse/STDCXX-726
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    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: Martin Sebor
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> The HP aCC 6.15 and 6.16 builds are full of [cadvise|http://www.hp.com/go/cadvise] (static analysis tool) warnings:
> {noformat}
> $ W=`  gunzip -c hpux-11.31-ia64-acc-6.15-15S-620132-log.gz \
>      | sed -n "s/.*: warning #\(2[0-9][0-9][0-9][0-9]\)-.:.*/\1/p" \
>      | sort | uniq`; \
>   for w in $W; do \
>     n=`gunzip -c hpux-11.31-ia64-acc-6.15-15S-620132-log.gz | grep ": warning #$w-.:" | wc -l`; \
>     echo "$w $n"; \
>   done
> 20200 110
> 20201 13
> 20203 5
> 20206 8
> 20210 2
> {noformat}
> The warnings are:
> ||Warning||Description||
> |20200|Potential null pointer dereference is detected|
> |20201|Memory leak is detected|
> |20203|Potential out of scope use of local variable|
> |20206|Out of bound access|
> |20210|Mismatch in allocation and deallocation|

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