[PATCH] xfs: fix signed integer overflow

Joe Perches joe at perches.com
Fri Sep 9 01:42:01 CDT 2016


On Fri, 2016-09-09 at 14:38 +0800, Xie XiuQi wrote:
> Use 1U for unsigned long, or we'll meet a overflow issue with UBSAN.

trivia: misleading commit message

1U is for unsigned int not unsigned long int




More information about the xfs mailing list