summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-02-20 18:57:50 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-20 21:24:08 -0800
commitbc5f82990df628bf2b28af780e24445ee9b086ee (patch)
treec561a9c1de39151d2a5c9ac9b4ab6ec1771293b8 /Documentation
parent49b4f7c4acea69bb3075d9555dbd4d58f16a9f56 (diff)
downloadsubsurface-bc5f82990df628bf2b28af780e24445ee9b086ee.tar.gz
Fix divide-by-zero bug in statistics.c
GET_LOCAL_SAC did not check if the two entries had different time stamps and could therefore cause a divide-by-zero. x86 doesn't fault on that - it's still wrong. This now calls a function that does proper checking of all the values involved in the calculation. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions