diff options
author | 2015-09-06 20:07:46 +0000 | |
---|---|---|
committer | 2015-09-06 20:07:46 +0000 | |
commit | a1c4e90abc6223c75821a7a78de781ab4c6844ee (patch) | |
tree | 0cb256c32d8985be4e0253d4dfedf332bd94db9f /lib/libc/string/strerror_r.c | |
parent | Avoid floating point exception when an invalid font width was specified. (diff) | |
download | wireguard-openbsd-a1c4e90abc6223c75821a7a78de781ab4c6844ee.tar.xz wireguard-openbsd-a1c4e90abc6223c75821a7a78de781ab4c6844ee.zip |
UINT_MAX would overflow the integer calculation later on, leading to
floating point exception just like -1 would do. Use INT_MAX, which is
already way too high to make sense anyway.
Diffstat (limited to 'lib/libc/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions