[PATCH v2 2/4] xfsprogs: fix integer overflow in xlog_find_verify_cycle

Christoph Hellwig hch at infradead.org
Sun Dec 20 09:35:13 CST 2015


On Fri, Dec 11, 2015 at 04:39:01PM +0530, Vivek Trivedi wrote:
> Fix unintentional integer overflow in xlog_find_verify_cycle.
> Reported by coverity.

xfs_daddr_t is a 64-bit integer.  How does replacing it with an int fix
overlows?

xlog_find_verify_cycle originates in the kernel code, so any fix
should probably be done there first.



More information about the xfs mailing list