Skip to content

idlestat: minor fix for EOF checking

Colin Ian King kernel-janitors 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tracefile_tracecmd: add null return from fgets when EOF occurstracefile_tracecmd.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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