summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-12 21:45:49 +0000
committerdillon <dillon@FreeBSD.org>1998-12-12 21:45:49 +0000
commit21b42c731e9d4dd0805ce9d50ac827a8ae7efe25 (patch)
tree6bfd629c156a29420a22ebfb2f657cbf1de57564 /lib/libc/stdlib/malloc.c
parentb9c991f4868ca0e7c01e203ee7261d0064d5d013 (diff)
downloadFreeBSD-src-21b42c731e9d4dd0805ce9d50ac827a8ae7efe25.zip
FreeBSD-src-21b42c731e9d4dd0805ce9d50ac827a8ae7efe25.tar.gz
PR: kern/8990
If timer calculation results in degenerate value (0), force it to 1 to avoid divide-by-zero panic later on in calls to IGMP_RANDOM_DELAY(). I considered simply adding 1 to the timer calculation, but was unsure if the calculation was part of the IGMP standard or not so did not want to mess with it for all cases.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud