s3: Fix bug 8904 -- wbinfo --lookup-sids "" crashes winbind
commitd256e5ccfca9349ad4c0ef66f3f860114d3ea675
authorVolker Lendecke <vl@samba.org>
Sat, 28 Apr 2012 17:51:46 +0000 (28 19:51 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:39:18 +0000 (22 21:39 +0200)
treeafd0b48e8edce304be11ea66931c0b988a47293d
parent83da2ba8a4d599a82d8c15424694e06e361b40d1
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.
(cherry picked from commit e68662130c6c4c081d23f1a24cc3e9a3d2993224)
source3/winbindd/wb_lookupsids.c