summaryrefslogtreecommitdiffstats
path: root/file-ops.c
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-06-11 08:20:54 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-06-11 08:20:54 +0000
commitf00b82b6f9114694e3c05e2bb3a5395ce59c85de (patch)
tree2641e9182cf80d8c080299ff2992d314e2929be0 /file-ops.c
parentf1bce06975c0c4d6b1e348bbd1cbc26694e57f82 (diff)
downloadlibcg-f00b82b6f9114694e3c05e2bb3a5395ce59c85de.tar.gz
libcg-f00b82b6f9114694e3c05e2bb3a5395ce59c85de.tar.xz
libcg-f00b82b6f9114694e3c05e2bb3a5395ce59c85de.zip
libcgroup: Fix segmentation fault in APIs.
Dan Smith reported some segmentation faults. It turns out that we did not NULL terminate all the structures when we had moved to the wrapper based approach. With this in mind, the loop checks the index instead of a NULL structure. Also remove unwanted NULL terminations. Thanks to Dan for excellent debugging. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/tags/v0.1c@77 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'file-ops.c')
0 files changed, 0 insertions, 0 deletions