When upcasting to off_t for multiplication, the cast needs to be *before*
authorguenther <guenther@openbsd.org>
Sun, 14 Aug 2016 22:57:31 +0000 (22:57 +0000)
committerguenther <guenther@openbsd.org>
Sun, 14 Aug 2016 22:57:31 +0000 (22:57 +0000)
commit88e18ee0d5cbf860ee8bade32d49f9f9253d45ba
treef98d9befb61967b65ea7d4a27c2372f1f0639653
parenta20a5177f8cd49fa822883889e2e37b5a0bcbef3
When upcasting to off_t for multiplication, the cast needs to be *before*
the multiplication to avoid truncation/overflow

ok krw@
libexec/ftpd/logutmp.c