freeradius-server icon indicating copy to clipboard operation
freeradius-server copied to clipboard

Annotate false positive overflow_const issues (CID #1604607, #1604626)

Open jejones3141 opened this issue 1 year ago • 0 comments
trafficstars

Coverity sees the initialization of hash and the multiplication by FNV_MAGIC_PRIME and points out that the product is too large for a uint32_t, but because the multiplication is done in an unsigned type, that is defined behavior and the intended behavior for the hash functions.

jejones3141 avatar Jul 03 '24 18:07 jejones3141