summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-06-18 09:00:03 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-06-18 09:00:03 +0200
commit1aef8694bc62a053e35cc1c74c67f1d15d8d1b6a (patch)
tree051e10643c9e8f3158bd5dd5c10627f5eb4aac75 /test
parente127bb1fb9b1025094a0e0ce50d2e44c38c4e97f (diff)
downloadgf-complete-1aef8694bc62a053e35cc1c74c67f1d15d8d1b6a.tar.gz
gf_w64.c: fix integer overflow
Fix for Coverity issue (from Ceph): CID 1193088 (#1 of 1): Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) overflow_before_widen: Potentially overflowing expression 1 << g_s with type int (32 bits, signed) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type uint64_t (64 bits, unsigned). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions