diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-17 14:53:07 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-17 15:22:04 +0200 |
commit | 7f9acfae7327ce96bf02064f9a0683de0f985521 (patch) | |
tree | 13091adaed76163757c52ba6f8422cbcffd81806 /source3/services | |
parent | 08d63adc6197b5bbe7a64c4e8e1b547e5c478797 (diff) | |
download | samba-7f9acfae7327ce96bf02064f9a0683de0f985521.tar.gz samba-7f9acfae7327ce96bf02064f9a0683de0f985521.tar.bz2 samba-7f9acfae7327ce96bf02064f9a0683de0f985521.zip |
Fix a segfault in wbcLookupSid
If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain
and *name have not been initialized yet. So the cleanup routine in the done:
part of the routine (which did not check for domain!=NULL etc) would access
uninitialized memory.
Jerry, please check!
Thanks,
Volker
(cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de)
(This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)
Diffstat (limited to 'source3/services')
0 files changed, 0 insertions, 0 deletions