Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44227 Details for
Bug 71670
net-fs/arla-0.37.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nnpfs didn't compile because of -Wno-return-type in nnpfs_dev.c
nnpfs_dev.c.patch (text/plain), 869 bytes, created by
Johannes Brügmann
on 2004-11-18 08:07:55 UTC
(
hide
)
Description:
nnpfs didn't compile because of -Wno-return-type in nnpfs_dev.c
Filename:
MIME Type:
Creator:
Johannes Brügmann
Created:
2004-11-18 08:07:55 UTC
Size:
869 bytes
patch
obsolete
>--- /var/tmp/portage/arla-0.37/work/arla-0.37/nnpfs/linux/nnpfs_dev.c.orig 2004-11-17 09:31:22.000000000 +0100 >+++ /var/tmp/portage/arla-0.37/work/arla-0.37/nnpfs/linux/nnpfs_dev.c 2004-11-17 09:46:26.000000000 +0100 >@@ -359,7 +359,8 @@ > NNPFSDEB(XDEBDEV, ("nnpfs_devread: message->size = %u\n", > first->message->size)); > >- copy_to_user (buf, first->message, first->message->size); >+ if (copy_to_user (buf, first->message, first->message->size)) >+ return -EFAULT; > buf += first->message->size; > count -= first->message->size; > ret += first->message->size; >@@ -401,7 +402,8 @@ > > if (count > NNPFS_MAX_MSG_SIZE) > count = NNPFS_MAX_MSG_SIZE; >- copy_from_user(nnpfsp->message_buffer, buf, count); >+ if (copy_from_user(nnpfsp->message_buffer, buf, count)) >+ return -EFAULT; > > /* > * This thread handles the received message.
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 71670
:
44225
| 44227 |
44228
|
44230