s3: Fix bug 8904 -- wbinfo --lookup-sids "" crashes winbind
commite68662130c6c4c081d23f1a24cc3e9a3d2993224
authorVolker Lendecke <vl@samba.org>
Sat, 28 Apr 2012 17:51:46 +0000 (28 19:51 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2012 13:07:14 +0000 (7 15:07 +0200)
treedf438b22fb8abc8594db9660b6bd47653fc2164d
parent237d4dacfed478ce7f23a5f46b609189215259d3
s3: Fix bug 8904 -- wbinfo --lookup-sids "" crashes winbind

Much of the code further down and up the call chain expects the
structures wb_lookupsids returns to be allocated. Do that despite
we have nothing to look up.
source3/winbindd/wb_lookupsids.c