Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 85db5535c346fcba1ff6c30835ebd3a95214da04
https://github.com/lxc/lxc/commit/85db5535c346fcba1ff6c30835ebd3a95214da04
Author: Dwight Engen <dwight.en...@oracle.com>
Date: 2013-09-26 (Thu, 26 Sep 2013)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
fix segfault on lxc-create with bad template name
- change get_template_path() to only return NULL or non-NULL since one of
the callers was doing a free(-1) which caused the segfault. Handle the
NULL template case in the lxcapi_create() caller.
- make sure to free(tpath) in the sha1sum_file() failure case
Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com>
Signed-off-by: Serge E. Hallyn <serge.hal...@ubuntu.com>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel