]> git.proxmox.com Git - mirror_iproute2.git/commit
Fix overflow in time2tick / tick2time.
authorAndreas Henriksson <andreas@fatal.se>
Fri, 12 Oct 2007 08:56:46 +0000 (10:56 +0200)
committerStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 21:56:35 +0000 (14:56 -0700)
commit447598449817fcaea26016d9102d703c4d16bd9c
treeb7b5cff7b170a87524ea5e201971b637032620d7
parentf7c3cefc9c7add8052be1f294538e4669f58a577
Fix overflow in time2tick / tick2time.

The helper functions gets passed an unsigned int, which gets cast to long
and overflows. See http://bugs.debian.org/175462

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
tc/tc_core.c
tc/tc_core.h