diff options
author | 2016-08-14 22:57:31 +0000 | |
---|---|---|
committer | 2016-08-14 22:57:31 +0000 | |
commit | 88e18ee0d5cbf860ee8bade32d49f9f9253d45ba (patch) | |
tree | f98d9befb61967b65ea7d4a27c2372f1f0639653 /lib/libc/stdlib/llabs.c | |
parent | Convert %q to %ll with long long casts for printf() (diff) | |
download | wireguard-openbsd-88e18ee0d5cbf860ee8bade32d49f9f9253d45ba.tar.xz wireguard-openbsd-88e18ee0d5cbf860ee8bade32d49f9f9253d45ba.zip |
When upcasting to off_t for multiplication, the cast needs to be *before*
the multiplication to avoid truncation/overflow
ok krw@
Diffstat (limited to 'lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions