diff options
author | Michael Adam <obnox@samba.org> | 2012-12-11 18:05:31 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-12-11 18:22:15 +0100 |
commit | a20c47410fb74716c0c8b2583fd4d0ae0145fd7d (patch) | |
tree | b23a30bb06ca46fdd72c91f97b8b9f5c72e46594 /source4/torture/unix | |
parent | 9ee3343529d2897e900b8824e49b253cfc53bff9 (diff) | |
download | samba-a20c47410fb74716c0c8b2583fd4d0ae0145fd7d.tar.gz samba-a20c47410fb74716c0c8b2583fd4d0ae0145fd7d.tar.bz2 samba-a20c47410fb74716c0c8b2583fd4d0ae0145fd7d.zip |
s3:auth: fix dereference level in talloc checks in create_token_from_sid()
Commit c5b150b33fc54ed97dbd0736cc6f4c15977d6e70 introduced these checks.
The current check "found_username == NULL" is wrong (we would segfault earlier
in this case). We need to check *found_username == NULL instead as
noted by Günter.
Reported-by: Günter Kukkukk <linux@kukkukk.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/torture/unix')
0 files changed, 0 insertions, 0 deletions