diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-05-15 12:58:12 +0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2012-05-15 19:39:28 +0400 |
commit | 75af271ed5f51b1f3506c7c1d567b1f32e5c9206 (patch) | |
tree | 5df97190f3ac4aba1bfed021e1a03392d447830e /usr/gen_init_cpio.c | |
parent | 1a058f5288a74a20d5567a85ab1a04a9de69a212 (diff) | |
download | linux-75af271ed5f51b1f3506c7c1d567b1f32e5c9206.tar.xz |
dlm: NULL dereference on failure in kmem_cache_create()
We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if
both allocations fail, it leads to a NULL dereference.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions