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

            Bug ID: 124319
           Summary: Consider making std::istreambuf_iterator safer against
                    non-dereferenceable increments
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

We could check that _M_sbuf is non-null before dereferencing it, so that
istreambuf_iterator is more robust.

Reply via email to