Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.2.0
-
None
-
$ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
-
Compiler Warning
Description
The HP aCC 6.15 and 6.16 builds are full of cadvise (static analysis tool) warnings:
$ 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
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 |
Attachments
Issue Links
- relates to
-
STDCXX-695 [HP aCC 6.15] lots of noise due to compiler remarks
- Open
1.
|
[HP aCC 6.16] Potential null pointer dereference in cmdopt.cpp | Open | Martin Sebor |
|
|||||||||
2.
|
[HP aCC 6.16] Memory leak is detected in alloc.cpp | Open | Unassigned |
|
|||||||||
3.
|
[HP aCC 6.16] multiple cadvise warnings in money tests | Open | Martin Sebor |
|
|||||||||
4.
|
[HP aCC 6.16] Memory leak is detected in 0.new.cpp | Open | Unassigned |
|
|||||||||
5.
|
[HP aCC 6.16] Memory leak is detected in 18.exception.cpp | Open | Unassigned |
|
|||||||||
6.
|
[HP aCC 6.16] out of bound warnings 20206 and 20208 in 23.bitset.cons.stdcxx-297.cpp | Open | Martin Sebor |
|
|||||||||
7.
|
[HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp | Open | Unassigned |
|