Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.