diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-10-12 23:48:55 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-10-12 23:48:55 +0000 |
commit | f64b57408f7bde95a933729a7c464975dac9a63c (patch) | |
tree | 575941092774621ea8ad393ce7835f1ddc4c66d7 /contrib/netbsd-tests/lib/libc/locale/t_wcstod.c | |
parent | 1cc1341f99e4db303ca09d810d015e413a249d2b (diff) | |
download | FreeBSD-src-f64b57408f7bde95a933729a7c464975dac9a63c.zip FreeBSD-src-f64b57408f7bde95a933729a7c464975dac9a63c.tar.gz |
Check error return from reading integer part of temperature.
There's a very remote, but possible, chance that the integer part read will
fail, but the fraction read succeeds, at which point the reported temperature is
invalid.
Reported by: Matthew Rezny
MFC after: 3 weeks
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/locale/t_wcstod.c')
0 files changed, 0 insertions, 0 deletions