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_!?


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


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