Issue Details (XML | Word | Printable)

Key: STDCXX-726
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[HP aCC 6.16] many cadvise warnings

Created: 13/Feb/08 09:15 PM   Updated: 25/Apr/08 12:28 AM
Return to search
Component/s: Build and Installation
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Issue & Sub-Tasks
Issue Only
Original Estimate: 74h
Original Estimate - 74h
Remaining Estimate: 30h
Time Spent - 53.02h Remaining Estimate - 30h
Time Spent: 53.02h
Time Spent - 53.02h Remaining Estimate - 30h

Environment:
$ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
Issue Links:
Reference
 

Severity: Compiler Warning

Sub-Tasks  All   Open   

 Description  « Hide
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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 13/Feb/08 09:16 PM
Field Original Value New Value
Assignee Martin Sebor [ sebor ]
Martin Sebor made changes - 07/Apr/08 04:44 PM
Link This issue relates to STDCXX-695 [ STDCXX-695 ]
Martin Sebor made changes - 25/Apr/08 12:28 AM
Fix Version/s 4.2.2 [ 12313096 ]
Fix Version/s 4.2.1 [ 12312690 ]