git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c1a70
)
Fix segfault in mount.cifs helper when there is no options specified during mount
author
Alexander Bokovoy
<ab@samba.org>
Wed, 22 Oct 2003 15:41:08 +0000
(15:41 +0000)
committer
Alexander Bokovoy
<ab@samba.org>
Wed, 22 Oct 2003 15:41:08 +0000
(15:41 +0000)
(This used to be commit
fb87388a9fe959ecb01d88e2f974b077bac0a34d
)
source3/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source3/client/mount.cifs.c
b/source3/client/mount.cifs.c
index 7ab17a2b0284845fb8968098f7122732a10921b3..43b20e9d502cdbd00002065acfeb62a5c752ea1a 100755
(executable)
--- 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)