[lxc-devel] [PATCH] coverity 1097618: check for NULL return from calloc before deref

2013-10-29 Thread Dwight Engen
Signed-off-by: Dwight Engen dwight.en...@oracle.com --- src/lxc/cgroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index cf1605a..6aa4495 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -1688,6 +1688,8 @@ char *cgroup_to_absolute_path(struct

Re: [lxc-devel] [PATCH] coverity 1097618: check for NULL return from calloc before deref

2013-10-29 Thread Stéphane Graber
On Tue, Oct 29, 2013 at 02:49:16PM -0400, Dwight Engen wrote: Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/cgroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index