diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-10-22 15:52:36 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-10-22 15:52:36 +0000 |
commit | 356e0437674d369ab90001910e257bfaf11cafe6 (patch) | |
tree | d9c74a67166c7c1d519e6ab9e9462d12f5957c5f /source3/client | |
parent | 2fef82e5df4f4e85cc21734189b54b7be15f42cd (diff) | |
download | samba-356e0437674d369ab90001910e257bfaf11cafe6.tar.gz samba-356e0437674d369ab90001910e257bfaf11cafe6.tar.bz2 samba-356e0437674d369ab90001910e257bfaf11cafe6.zip |
Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit a3b67626018ade2a823311b65202ab7f488ca0a7)
Diffstat (limited to 'source3/client')
-rwxr-xr-x | source3/client/mount.cifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index 7ab17a2b02..43b20e9d50 100755 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -501,7 +501,7 @@ int main(int argc, char ** argv) ipaddr = parse_server(share_name); /* if(share_name == NULL) return 1; */ - if (parse_options(strdup(orgoptions))) + if (orgoptions && parse_options(strdup(orgoptions))) return 1; if(got_user == 0) |