Re: (subset) [net PATCH] leds: trigger: netdev: move size check in set_device_name

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

 



On Sat, 07 Oct 2023 15:10:42 +0200, Christian Marangi wrote:
> GCC 13.2 complains about array subscript 17 is above array bounds of
> 'char[16]' with IFNAMSIZ set to 16.
> 
> The warning is correct but this scenario is impossible.
> set_device_name is called by device_name_store (store sysfs entry) and
> netdev_trig_activate.
> 
> [...]

Applied, thanks!

[1/1] leds: trigger: netdev: move size check in set_device_name
      commit: e0e29e434cdca9705eb420b3f26928444fa559f6

--
Lee Jones [李琼斯]




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux