Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-726 [HP aCC 6.16] many cadvise warnings
  3. STDCXX-757

[HP aCC 6.16] Potential null pointer dereference in value.cpp

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Test Driver
    • Labels:
      None
    • Environment:

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

      Description

      aCC -c -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/include -I/amd/devco/scottz/stdcxx/4.2.x/tests/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/tests/src/value.cpp

      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp", line 498, procedure from_char: warning #20200-D: Potential null pointer dereference through array is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp, line 482)
      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp", line 252, procedure assign: warning #20200-D: Potential null pointer dereference through p_total_op is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp, line 193)
      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp", line 253, procedure assign: warning #20200-D: Potential null pointer dereference through p_op is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp, line 194)
      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp", line 261, procedure assign: warning #20200-D: Potential null pointer dereference through pex is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/tests/src/value.cpp, line 197)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebor Martin Sebor
                Reporter:
                scottz Scott (Yu) Zhong
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h