Defect reports?

Pétur Runólfsson peturr02@ru.is
Fri Sep 26 14:52:00 GMT 2003


Gabriel Dos Reis wrote:
>  (2) appoint one of austern, bkoz, gdr to keep track of them and
>      submit proper DRs.

Any volunteers? :-) 

Martin Sebor wrote:
>> * The resolution of DR 25 requires undefined behaviour.
>
> What makes you think that?

Well, the fixed text reads
  as if by calling os.rdbuf()->sputn(str.data(), n), [...] where n is
  the larger of os.width() and str.size();
If n is larger than str.size(), then sputn will read past the end of
the array returned by str.data().  Or maybe padding should modify str,
but that is also undefined, since str is const.

Petur



More information about the Libstdc++ mailing list