diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2015-06-18 08:58:20 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2015-06-18 08:58:20 +0200 |
commit | e127bb1fb9b1025094a0e0ce50d2e44c38c4e97f (patch) | |
tree | cc28deb5c0573684042ae568fc1ca39175a91a84 /depcomp | |
parent | 98e5e37159f4c7634305aa65c9bc98a36488a4a9 (diff) | |
download | gf-complete-e127bb1fb9b1025094a0e0ce50d2e44c38c4e97f.tar.gz |
gf_w64.c: fix integer overflow
Fix for Coverity issue (from Ceph):
CID 1193087 (#1 of 1): Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
overflow_before_widen: Potentially overflowing expression 1 << g_r 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 'depcomp')
0 files changed, 0 insertions, 0 deletions