Re: [PATCH] keys: Use struct_size and size_add helper with alloc

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

 



On Thu, May 19, 2022 at 10:47:02AM +0800, GUO Zihua wrote:
> Use struct_size helper for calculating size of flexible struct to avoid
> potential issues and improve readibility. Use size_add to calculate
> addition of size to prevent potential issues.

What issues? Please explicitly state the issues.

BR, Jarkko



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux