diff options
author | Artem Sadovnikov <a.sadovnikov@ispras.ru> | 2025-06-17 15:21:09 +0000 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-07-09 20:39:00 -0400 |
commit | 437889b926b30093048eba31cd1fde00ca8df316 (patch) | |
tree | 9013dcbe6cd15cb81d7c94049905237d878c07d5 /scripts/lib/kdoc/kdoc_parser.py | |
parent | d7b8f8e20813f0179d8ef519541a3527e7661d3a (diff) |
fgraph: Make pid_str size match the comment
The comment above buffer mentions sign, 10 bytes width for number and null
terminator, but buffer itself isn't large enough to hold that much data.
This is a cosmetic change, since PID cannot be negative, other than -1.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Link: https://lore.kernel.org/20250617152110.2530-1-a.sadovnikov@ispras.ru
Signed-off-by: Artem Sadovnikov <a.sadovnikov@ispras.ru>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions