Re: [PATCH] SUNRPC: clean up integer overflow check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/30/23 12:46, Dan Carpenter wrote:

Use size_mul() to prevent the integer overflow.  It silences the warning
and it's cleaner as well.

I'm OK with this. But I still don't understand why the original
warning was a compiler (actually two compilers we've tried) bug.

Dmitry



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux