summaryrefslogtreecommitdiff
path: root/built_in.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-18 11:58:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-09-15 18:27:48 +0200
commit5ca82e492cd88813f22d40dc2fecaaa2b3dcd51d (patch)
treebc3e6c8dd9119befffa3f51b0e7347bc423245a9 /built_in.h
parent93127b0f9515be4b8f1365d7670744fcac0ade16 (diff)
ifpps: Prevent division by zero
Even though it's very unlikely we ever read zero values from the cpu lines in /proc/stat, we should still protect against division by zero. Detected using UBSan. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'built_in.h')
0 files changed, 0 insertions, 0 deletions