catch invalid ld80 bit patterns and treat them as nan
authorRich Felker <dalias@aerifal.cx>
Thu, 30 Jun 2011 20:31:43 +0000 (16:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 30 Jun 2011 20:31:43 +0000 (16:31 -0400)
commitf6fd351c703a2843959b3be83078d9dce33f30f3
tree0ee99bf56d4a10d72707b4e1e1625e0e289aaf18
parente5cb55fedd811f71cd91ef097a8a4a4964d8c564
catch invalid ld80 bit patterns and treat them as nan

this should not be necessary - the invalid bit patterns cannot be
created except through type punning. however, some broken gnu software
is passing them to printf and triggering dangerous stack-smashing, so
let's catch them anyway...
src/math/__fpclassifyl.c