Bugzilla – Attachment 16075 Details for
Bug 49100
VUL-0: CVE-2004-0010: ncpfs: buffer overflow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
ncpfs-check (9.0-i386)
ncpfs-check (text/plain), 576 bytes, created by
Thomas Biege
on 2004-02-19 23:40:15 UTC
(
hide
)
Description:
ncpfs-check (9.0-i386)
Filename:
MIME Type:
Creator:
Thomas Biege
Created:
2004-02-19 23:40:15 UTC
Size:
576 bytes
patch
obsolete
>diff -u linux/fs/ncpfs/dir.c-o linux/fs/ncpfs/dir.c >--- linux/fs/ncpfs/dir.c-o 2004-01-22 15:39:20.000000000 +0100 >+++ linux/fs/ncpfs/dir.c 2004-01-22 15:39:20.000000000 +0100 >@@ -328,6 +328,8 @@ > { > int res; > lock_kernel(); >+ if (dentry->d_name.len >= 254) >+ return -ENAMETOOLONG; > res = __ncp_lookup_validate(dentry, flags); > unlock_kernel(); > return res; >@@ -873,6 +875,8 @@ > > static int ncp_create(struct inode *dir, struct dentry *dentry, int mode) > { >+ if (dentry->d_name.len >= 254) >+ return -ENAMETOOLONG; > return ncp_create_new(dir, dentry, mode, 0); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 49100
: 16075