Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372758 Details for
Bug 504736
app-emulation/vmware-modules-279.1 with kernel 3.14.0 - kernel: vmblock: Unknown symbol getname (err 0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
279-getname.patch
279-getname.patch (text/plain), 533 bytes, created by
Fabio Rossi
on 2014-03-15 19:06:12 UTC
(
hide
)
Description:
279-getname.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2014-03-15 19:06:12 UTC
Size:
533 bytes
patch
obsolete
>--- vmblock-only/linux/control.c 2014-03-15 15:28:40.871076076 +0100 >+++ vmblock-only/linux/control.c.new 2014-03-15 15:29:15.079074439 +0100 >@@ -279,11 +279,17 @@ > int i; > int retval; > >- name = getname(buf); >+ name = __getname(); > if (IS_ERR(name)) { > return PTR_ERR(name); > } > >+ i = strncpy_from_user(name, buf, PATH_MAX); >+ if (i < 0 || i == PATH_MAX) { >+ __putname(name); >+ return -EINVAL; >+ } >+ > for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) { > name[i] = '\0'; > }
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 504736
: 372758 |
376568