]> granicus.if.org Git - curl/commit
smb: Don't try to connect with empty credentials
authorSteve Holme <steve_holme@hotmail.com>
Tue, 2 Dec 2014 21:04:23 +0000 (21:04 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 2 Dec 2014 21:04:23 +0000 (21:04 +0000)
commitf9b7132175ed7b789d3c39452db3e2e216e5fc21
treec27e66093466ad693d06d7d4b8b163e9b8466da0
parentbbccbfe9d1552473ddc380ae2dc7b261d3caf63d
smb: Don't try to connect with empty credentials

On some platforms curl would crash if no credentials were used. As such
added detection of such a use case to prevent this from happening.

Reported-by: Gisle Vanem
lib/smb.c