Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48690 Details for
Bug 77414
net-fs/ncpfs CAN-2005-001{3,4}: Multiple issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CAN-2005-0014.patch
CAN-2005-0014.patch (text/plain), 899 bytes, created by
Sune Kloppenborg Jeppesen (RETIRED)
on 2005-01-16 14:28:39 UTC
(
hide
)
Description:
CAN-2005-0014.patch
Filename:
MIME Type:
Creator:
Sune Kloppenborg Jeppesen (RETIRED)
Created:
2005-01-16 14:28:39 UTC
Size:
899 bytes
patch
obsolete
>--- sutil/ncplogin.c.orig 2005-01-16 23:16:20.311673048 +0100 >+++ sutil/ncplogin.c 2005-01-16 23:21:47.645910680 +0100 >@@ -166,10 +166,11 @@ > int e; > > /* we DID check in main that -V has been specified !*/ >- strcpy(tmpNWPath,info->remote_path); >+ memset(tmpNWPath,0,sizeof(tmpNWPath)); >+ strncpy(tmpNWPath,sizeof(tmpNWPath)-1,info->remote_path); > if (info->root_path) { >- strcat(tmpNWPath,"/"); >- strcat(tmpNWPath,info->root_path); >+ strncat(tmpNWPath,"/",sizeof(tmpNWPath)-strlen(tmpNWPath)-1); >+ strncat(tmpNWPath,info->root_path,sizeof(tmpNWPath)-strlen(tmpNWPath)-1); > } > /* I keep forgeting typing it in uppercase so let's do it here */ > str_upper(tmpNWPath);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77414
:
48563
|
48689
| 48690