diff options
author | Denis Kirjanov <dkirjanov@hera.kernel.org> | 2010-06-01 16:15:39 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-01 16:26:36 (GMT) |
commit | 037776fcbe73236408f6c9ca97c782457efd6b53 (patch) | |
tree | b3822d07bbcf0831be533c5e5704081441eae0bc /fs/bad_inode.c | |
parent | 5c113fbeed7a5a192d8431a768965f8a45c16475 (diff) | |
download | linux-fsl-qoriq-037776fcbe73236408f6c9ca97c782457efd6b53.tar.xz |
AFS: Fix possible null pointer dereference in afs_alloc_server()
Fix a possible null pointer dereference in afs_alloc_server(): the server
pointer is NULL if there was an allocation failure, and under such a
condition, we can't dereference it in the _leave() statement.
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions