s3: Fix bug 8904 -- wbinfo --lookup-sids "" crashes winbind
commit4a28c6ca7cd97535596dd93741689ff17bb1c395
authorVolker Lendecke <vl@samba.org>
Sat, 28 Apr 2012 17:51:46 +0000 (28 19:51 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 28 Apr 2012 20:04:14 +0000 (28 22:04 +0200)
tree2735ec2d2cb403ee49ae591683e02b9f7162fcdd
parent0dc3f423d25d3a50fa39ecee8a8ca13cdfe32267
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