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

[HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.2
    • Component/s: Tests
    • 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/containers/23.bitset.cpp
      
      "/amd/devco/scottz/stdcxx/4.2.x/tests/containers/23.bitset.cpp", line 127, procedure
       test_operators: warning #20206-D: Out of bound access (In expression
       "memmove(&(&__tempVar_232)->bits_[30]+1 - (long long)
      (31 - n),&(&__tempVar_232)->bits_[(long long)(30 - n)]+1 - (long long)(31 - n),31 - n)", 
      &(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n) (type: char [32]) (defined by 
      (&__tempVar_232)->bits_) has byte range [0 .. 31], writing byte range [0 .. 60].)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h