diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-11 22:50:13 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-11 22:50:13 -0800 |
commit | 915647da9cb1227378f53a5a386df69e9348754b (patch) | |
tree | bb7ca363deeda6427d37ae14f3d334bfb44fbcb2 /source3 | |
parent | d9ee831d0ee7a950a7c8095182f1174026a56ad9 (diff) | |
download | samba-915647da9cb1227378f53a5a386df69e9348754b.tar.gz samba-915647da9cb1227378f53a5a386df69e9348754b.tar.bz2 samba-915647da9cb1227378f53a5a386df69e9348754b.zip |
Fix CID 523 - wrong null deref check.
Jeremy.
(This used to be commit 05cadffeab38ca9df7ffd46785b536266c4438c4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/mangle_hash2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c index 9643506aea..a9b94aabc3 100644 --- a/source3/smbd/mangle_hash2.c +++ b/source3/smbd/mangle_hash2.c @@ -396,7 +396,7 @@ static bool lookup_name_from_8_3(TALLOC_CTX *ctx, TALLOC_FREE(prefix); - if (!pp_out) { + if (!*pp_out) { M_DEBUG(0,("talloc_fail")); return False; } |