summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2018-03-18 17:36:58 +0100
committerMichael Brown2018-03-18 17:39:39 +0100
commitae930644962a886d3845e5d8836c5cf136c82df0 (patch)
tree71bf03441f6080217b394bcd889ae8df6501bcf0 /src/crypto
parent[tftp] Prevent potential division by zero (diff)
downloadipxe-ae930644962a886d3845e5d8836c5cf136c82df0.tar.gz
ipxe-ae930644962a886d3845e5d8836c5cf136c82df0.tar.xz
ipxe-ae930644962a886d3845e5d8836c5cf136c82df0.zip
[profile] Prevent potential division by zero
Limit the profile sample count to INT_MAX to avoid both signed overflow and a potential division by zero when updating the stored mean value. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
0 files changed, 0 insertions, 0 deletions