[CRIU] [PATCH 0/8] Some static analyzing over
Dmitry Safonov
dsafonov at virtuozzo.com
Fri Jul 15 12:28:39 PDT 2016
Some memory leaks, some dereferencing of garbage, etc.
Doesn't seems so critical, but anyway.
Dmitry Safonov (8):
cgroup: drop useless name variable in collect_cgroups
cgroup: don't forget to deallocate cg->sets
cr-dump: don't forget to free mme.vmas
restore: move pid variable to local scope
pagemap: init pagemap entries array as NULL
path: drop redundant local-scope vars writes
plugin: free allocated plugin descriptor
pstree: check if thread core is allocated before freeing
criu/cgroup.c | 38 ++++++++++++++++++++++++++------------
criu/cr-dump.c | 3 ++-
criu/cr-restore.c | 6 ++----
criu/pagemap.c | 1 +
criu/path.c | 2 --
criu/plugin.c | 34 +++++++++++++++++++---------------
criu/pstree.c | 3 ++-
7 files changed, 52 insertions(+), 35 deletions(-)
--
2.9.0
More information about the CRIU
mailing list