The Samba-Bugzilla – Attachment 3133 Details for
Bug 5252
mount.cifs misleading error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed fix
samba-3.0.28-mount.cifs.patch (text/plain), 1.11 KB, created by
Walter Franzini
on 2008-02-08 10:21:05 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Walter Franzini
Created:
2008-02-08 10:21:05 UTC
Size:
1.11 KB
patch
obsolete
>--- samba-3.0.28.ORIG/source/client/mount.cifs.c 2007-11-15 04:15:03.000000000 +0100 >+++ samba-3.0.28/source/client/mount.cifs.c 2008-02-08 17:08:44.000000000 +0100 >@@ -169,7 +169,7 @@ > /* go past equals sign */ > temp_val++; > for(length = 0;length<4087;length++) { >- if(temp_val[length] == '\n') >+ if(temp_val[length] == '\n' || temp_val[length] == '\0') > break; > } > if(length > 4086) { >@@ -193,7 +193,7 @@ > /* go past equals sign */ > temp_val++; > for(length = 0;length<65;length++) { >- if(temp_val[length] == '\n') >+ if(temp_val[length] == '\n' || temp_val[length] == '\0') > break; > } > if(length > 64) { >@@ -222,7 +222,7 @@ > if(verboseflag) > printf("\nDomain %s\n",temp_val); > for(length = 0;length<65;length++) { >- if(temp_val[length] == '\n') >+ if(temp_val[length] == '\n' || temp_val[length] == '\0') > break; > } > if(length > 64) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5252
: 3133