idlestat: minor fix for EOF checking
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | tracefile_tracecmd: add null return from fgets when EOF occurstracefile_tracecmd.c | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] idlestat: minor fix for EOF checking
Using static analysis with clang-scan I found a potential EOF not being checked in a fgets call in idlestat. Fix this.
Colin Ian King (1):
tracefile_tracecmd: add null return from fgets when EOF occurs
tracefile_tracecmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.38.1