This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc segfault on "special" long double values is _ok_!?


On Thu, 2007-06-07 13:27:49 -0400, Mike Frysinger <vapier@gentoo.org> wrote:
> On Thursday 07 June 2007, Jan-Benedict Glaw wrote:
> > On Thu, 2007-06-07 12:06:58 -0400, Mike Frysinger <vapier@gentoo.org> wrote:
> > > On Thursday 07 June 2007, Jan-Benedict Glaw wrote:
> > > > On Wed, 2007-06-06 22:44:17 +0100, James Youngman <jay@gnu.org> wrote:
> > > > > If I read a stream of data (from a file, a network socket, etc.)
> > > > > which is supposed to contain valid floating-point data, it is
> > > > > reasonable for a program to print it.  Especially so if the printing
> > > > > I am doing is a
[...]
> read what i said again ... the clients are doing write()/read() on the double 
> directly, but one side has debugging enabled so it additionally does printf() 
> on the values coming across -> bam, server crashes

So it didn't check its input prior using it.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:            http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
the second  :

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]