[PATCH 0/1] idlestat: minor fix for EOF checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.38.1




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux