diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-19 19:01:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-19 20:30:31 -0700 |
commit | e42d50baf43120a78985f13f6e9c8f92fae091c2 (patch) | |
tree | e9f91f6a06afe1696be14092344cdececfe82e99 /drivers/fmc/fmc-fakedev.c | |
parent | e3a3c3a205554e564751cd9c0276b2af813d7a92 (diff) |
FMC: NULL dereference on allocation failure
If we don't allocate "arr" then the cleanup path will dereference it and
oops.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc/fmc-fakedev.c')
0 files changed, 0 insertions, 0 deletions