diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-08-18 11:58:41 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-15 18:27:48 +0200 |
commit | 5ca82e492cd88813f22d40dc2fecaaa2b3dcd51d (patch) | |
tree | bc3e6c8dd9119befffa3f51b0e7347bc423245a9 /udp.conf | |
parent | 93127b0f9515be4b8f1365d7670744fcac0ade16 (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 'udp.conf')
0 files changed, 0 insertions, 0 deletions