summaryrefslogtreecommitdiffstats
path: root/libc/stdio/sprintf.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-03-04 11:51:42 -0800
committerDavid 'Digit' Turner <digit@google.com>2010-03-09 15:27:50 -0800
commit8132626b71b319c71c7c4710f0c57c417badf8c0 (patch)
tree7059fd80bf872989900e78aff21f6671d1463812 /libc/stdio/sprintf.c
parent92e712f60dae8f099004c439291362efd02f6889 (diff)
downloadbionic-8132626b71b319c71c7c4710f0c57c417badf8c0.zip
bionic-8132626b71b319c71c7c4710f0c57c417badf8c0.tar.gz
bionic-8132626b71b319c71c7c4710f0c57c417badf8c0.tar.bz2
Fix strtod security bug.
To avoid introducing NULL checks everytime a Bigint computation is performed, introduce a special value (BIGINT_INVALID) and only check for it when absolutely needed (which means when the code needs to access the Bigint's internal structure fields). Change-Id: Ie3954523b0985b6a8cb62340802d8dcf63cbf16f
Diffstat (limited to 'libc/stdio/sprintf.c')
0 files changed, 0 insertions, 0 deletions