[CRIU] [PATCH 0/9] fix a few issues, which were found with help of coverity.com
Andrey Vagin
avagin at openvz.org
Thu Apr 4 17:44:26 EDT 2013
Andrey Vagin (9):
proc_parse: allocate memory for the terminating null of the string
cr-check: don't forget close a test socket
cr-dump: move core_entry_free closer to core_entry_alloc
cr-dump: core_entry_free should free core
cr-dump: fix memory leak in fill_zombies_pids
cr-restore: fix error handling and memory leak in read_vma
files-reg: don't forget to close fd in case of error
page-pipe: fix memory leak on error path
namespaces: close fd on the source netns in restore_ns
cr-check.c | 11 +++++++----
cr-dump.c | 13 +++++++++++++
cr-restore.c | 17 +++++++++++------
files-reg.c | 9 +++++----
include/pstree.h | 2 --
namespaces.c | 2 ++
page-pipe.c | 1 +
proc_parse.c | 2 +-
pstree.c | 10 ----------
9 files changed, 40 insertions(+), 27 deletions(-)
--
1.7.11.7
More information about the CRIU
mailing list