diff options
| author | Fedor Pchelkin <pchelkin@ispras.ru> | 2026-04-03 16:42:39 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-04-09 14:56:33 +0300 |
| commit | f8fd138c2363c0e2d3235c32bfb4fb5c6474e4ae (patch) | |
| tree | 161e690790bf3a98b388f796e1a56ff0dfba2563 /scripts/patch-kernel | |
| parent | 5969c55e2145368254194edbe0e64880314be69f (diff) | |
| download | linux-f8fd138c2363c0e2d3235c32bfb4fb5c6474e4ae.tar.xz | |
platform/x86: dell_rbu: avoid uninit value usage in packet_size_write()
Ensure the temp value has been properly parsed from the user-provided
buffer and initialized to be used in later operations. While at it,
prefer a convenient kstrtoul() helper.
Found by Linux Verification Center (linuxtesting.org) with Svace static
analysis tool.
Fixes: ad6ce87e5bd4 ("[PATCH] dell_rbu: changes in packet update mechanism")
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Link: https://patch.msgid.link/20260403134240.604837-1-pchelkin@ispras.ru
[ij: add include]
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
