You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Farid Zaripov <Fa...@epam.com> on 2007/06/05 22:28:52 UTC

RE: [PATCH] RE: [jira] Created: (STDCXX-427) SIGSEGV in istringstream::str()

> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Tuesday, May 29, 2007 9:33 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: [PATCH] RE: [jira] Created: (STDCXX-427) SIGSEGV 
> in istringstream::str()
> 
> >   Formally the test case is valid, but logically, I think, 
> the buffer 
> > pointers and the buffer itself should be in consistency, 
> and in this 
> > test eback() and pbase() are changed from the real begin of 
> the buffer 
> > of the std::stringbuf.
> 
> I'm not sure I understand. If the test case is valid but 
> doesn't pass, the implementation doesn't conform. The only 
> way this could be acceptable is if the requirement in the 
> standard was unclear or didn't make sense (in which case we'd 
> need to open an issue against the standard to clarify/correct 
> the requirement). To me the requirement in the standard is 
> clear and makes sense. Does it not to you?

  The requirement in the standard is clear to me too.

Farid.