Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376568 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]
Modified patch as per comment #1
279-getname.patch (text/plain), 719 bytes, created by
Andreas Proteus
on 2014-05-08 07:33:36 UTC
(
hide
)
Description:
Modified patch as per comment #1
Filename:
MIME Type:
Creator:
Andreas Proteus
Created:
2014-05-08 07:33:36 UTC
Size:
719 bytes
patch
obsolete
>--- work/vmblock-only/linux/control.orig.c 2014-05-08 09:29:01.000000000 +0300 >+++ work/vmblock-only/linux/control.c 2014-05-08 09:41:02.000000000 +0300 >@@ -279,11 +279,17 @@ > int i; > int retval; > >- name = (char*) getname(buf)->name; >+ 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