https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89759

            Bug ID: 89759
           Summary: pop_back on empty vector gives wrong size
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anshulaggarwal987654321 at gmail dot com
  Target Milestone: ---

after calling pop_back on an empty vector, the vector.size() doesnt display
zero and displays a large value UINT64_MAX.

this leads to inconsistency and breaking of the data structure. (bug)


unconfirmed : it might try to deallocate unowned memory

Reply via email to