libwbclient: Fix a division by zero
commita642cb5a927f72acedf1efd7e79b1051c6ce38d5
authorVolker Lendecke <vl@samba.org>
Sat, 27 Nov 2010 18:02:33 +0000 (27 19:02 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sat, 27 Nov 2010 18:11:03 +0000 (27 19:11 +0100)
tree0ac4cbef65437052086dfbc082aabbd165268fc6
parent3b71f5df0328ef2c49a76504b6b79a4e726234f0
libwbclient: Fix a division by zero

If wbinfo -r returns no groups, wbcAllocateMemory divides by zero
nsswitch/libwbclient/wbc_pwd.c