[PATCH 0/5] lib: fwts_olog: minor bug fixes found by static analysis

Colin King colin.king at canonical.com
Sat Apr 2 17:51:59 UTC 2016


From: Colin Ian King <colin.king at canonical.com>

Just some code style changes plus some minor bug fixes for issues found
using CoverityScan static analysis.

Colin Ian King (5):
  lib: fwts_olog: minor fwts coding style reformatting
  lib: fwts_olog: fix fclose on already closed files.
  lib: fwts_olog: fix memory leak on buffer on error exit path
  lib: fwts_olog: ensure buffer is '\0' terminated per read, minor
    cleanups
  lib: fwts_olog: avoid TOCTOU race on stat and fopen

 src/lib/src/fwts_olog.c | 164 +++++++++++++++++++++++++++++-------------------
 1 file changed, 98 insertions(+), 66 deletions(-)

-- 
2.7.4




More information about the fwts-devel mailing list