On 24 May 2017 at 10:53, Pedro Giffuni <p...@freebsd.org> wrote:
>
> There is now a bunch of coverity issues (OVERFLOW_BEFORE_WIDEN mostly)
> tied to ino64_t. At least the following CIDs are related:

On a quick look the OVERFLOW_BEFORE_WIDEN issues are false positives
in practice: for correct operation the product must fit within 32
bits, because inodes were previously 32 bits. However, it does seem
unusual to perform a multiplication with types that could overflow 32
bits, and then store the result in a 64-bit variable. So it seems that
a code change to eliminate the warning is likely reasonable.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to