This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc segfault on "special" long double values is _ok_!?
- From: Bruno Haible <bruno at clisp dot org>
- To: Andreas Schwab <schwab at suse dot de>, Jim Meyering <jim at meyering dot net>
- Cc: libc-alpha at sourceware dot org, bug-gnulib at gnu dot org, Ulrich Drepper <drepper at redhat dot com>
- Date: Thu, 7 Jun 2007 03:50:10 +0200
- Subject: Re: glibc segfault on "special" long double values is _ok_!?
- References: <87y7ixb6wb.fsf@rho.meyering.net> <jeabvdmepm.fsf@sykes.suse.de>
Andreas Schwab wrote:
> > Just printing an arbitrary
> > "long double" should not make a server vulnerable to a DoS attack.
>
> In which way is this different from passing NULL to strlen?
Common knowledge: Programmers know that NULL is an invalid value for
many operations. They usually don't know that there are invalid values
in the 'long double' data type (unlike the 'float' and 'double' data
types).
Bruno