lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: (subset) [net PATCH] leds: trigger: netdev: move size check in set_device_name
Date
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 [李琼斯]

\
 
 \ /
  Last update: 2023-10-12 12:23    [W:0.046 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site