Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-726

[HP aCC 6.16] many cadvise warnings

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.0
    • 4.2.2
    • Build and Installation
    • 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

          1.
          [HP aCC 6.15] warning #20200-D: potential null pointer dereference in _money_put.cc Sub-task Closed Martin Sebor

          100%

          Original Estimate - 1h Original Estimate - 1h
          Time Spent - 2h
          Actions
          2.
          [HP aCC 6.15] potential null dererefence and out of bound access in iso2022.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          3.
          [HP aCC 6.16] Potential null pointer dereference in locale_body.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 3h
          Actions
          4.
          [HP aCC 6.16] Potential null pointer dereference in locale_combine.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          5.
          [HP aCC 6.16] Potential null pointer dereference in locale_name.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 1h Original Estimate - 1h
          Time Spent - 2h
          Actions
          6.
          [HP aCC 6.16] Potential null pointer dereference in <valarray> Sub-task Resolved Martin Sebor

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 4h
          Actions
          7.
          [HP aCC 6.16] Potential null pointer dereference in time.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          8.
          [HP aCC 6.16] Potential null pointer dereference in aliases.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          9.
          [HP aCC 6.16] Potential null pointer dereference in locale_stub.cpp Sub-task Closed Travis Vitek

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 2h 1m
          Actions
          10.
          [HP aCC 6.16] Potential null pointer dereference in gencat.cpp Sub-task Closed Farid Zaripov

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          11.
          [HP aCC 6.16] Forming out of bound address in charmap.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          12.
          [HP aCC 6.16] Potential null pointer dereference in cmdopt.cpp Sub-task Open Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          13.
          [HP aCC 6.16] Potential null pointer dereference in locale.cpp Sub-task Closed Travis Vitek

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          14.
          [HP aCC 6.16] Potential null pointer dereference in printf.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          15.
          [HP aCC 6.16] Potential null pointer dereference in value.cpp Sub-task Closed Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          16.
          [HP aCC 6.16] Memory leak is detected in alloc.cpp Sub-task Open Unassigned

          0%

          Original Estimate - 2h
          Remaining Estimate - 2h
          Actions
          17.
          [HP aCC 6.16] Out of bound access in 21.strings.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          18.
          [HP aCC 6.16] Out of bound access in 23.containers.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          19.
          [HP aCC 6.16] Out of bound access in new.cpp Sub-task Resolved Eric Lemings

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          20.
          [HP aCC 6.16] Out of bound access and Forming out of bound address in opt_diags.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          21.
          [HP aCC 6.16] multiple cadvise warnings in money tests Sub-task Open Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          22.
          [HP aCC 6.16] warning #20035-D: variable is used before its value is set in functional Sub-task Resolved Travis Vitek

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 3.5h
          Actions
          23.
          [HP aCC 6.16] warning #20200-D: Potential null pointer dereference in 21.string.erase.cpp Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          24.
          [HP aCC 6.16] warning #20200-D: Potential null pointer dereference in 21.string.iterators.cpp Sub-task Closed Travis Vitek

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          25.
          [HP aCC 6.16] warning #20200-D: Potential null pointer dereference in 22.locale.time.get.cpp Sub-task Closed Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          26.
          [HP aCC 6.16] warning #20200-D: Potential null pointer dereference in 23.list.erase.cpp Sub-task Resolved Travis Vitek

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          27.
          [HP aCC 6.16] Memory leak is detected in 0.new.cpp Sub-task Open Unassigned

          0%

          Original Estimate - 2h
          Remaining Estimate - 2h
          Actions
          28.
          [HP aCC 6.16] Memory leak is detected in 18.exception.cpp Sub-task Open Unassigned

          0%

          Original Estimate - 2h
          Remaining Estimate - 2h
          Actions
          29.
          [HP aCC 6.16] warning #20203-D: Potential out of scope use of local variable in 22.locale.num.get.cpp Sub-task Closed Travis Vitek

          100%

          Original Estimate - 2h
          Time Spent - 2h
          Actions
          30.
          [HP aCC 6.16] warning #20206-D: Out of bound access in rw_streambuf.h Sub-task Resolved Martin Sebor

          50%

          Original Estimate - 2h
          Time Spent - 1h Remaining Estimate - 1h
          Actions
          31.
          [HP aCC 6.16] out of bound warnings 20206 and 20208 in 23.bitset.cons.stdcxx-297.cpp Sub-task Open Martin Sebor

          0%

          Original Estimate - 2h
          Remaining Estimate - 2h
          Actions
          32.
          [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp Sub-task Open Unassigned

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 3h
          Actions
          33.
          [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp Sub-task Resolved Travis Vitek

          100%

          Original Estimate - 2h Original Estimate - 2h
          Time Spent - 2.5h
          Actions
          34.
          [HP aCC 6.16] warning #20200-D: potential null pointer dereference in collate.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 1h
          Time Spent - 1h
          Actions
          35.
          [HP aCC 6.15] warning #20200-D: potential null pointer dereference in locale_combine.cpp Sub-task Closed Martin Sebor

          100%

          Original Estimate - 1h Original Estimate - 1h
          Time Spent - 2h
          Actions

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 74h Original Estimate - 74h
                  74h
                  Remaining:
                  Time Spent - 53h 1m Remaining Estimate - 30h
                  30h
                  Logged:
                  Time Spent - 53h 1m Remaining Estimate - 30h
                  53h 1m

                  Slack

                    Issue deployment