Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39083 Details for
Bug 62524
Kernel: sys-kernel/* remote denial-of-service (GENERIC-MAP-NOMATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.6 /dev/ptmx Patch
2.6-devpts-refcount.patch (text/plain), 572 bytes, created by
Tim Yamin (RETIRED)
on 2004-09-06 12:34:37 UTC
(
hide
)
Description:
2.6 /dev/ptmx Patch
Filename:
MIME Type:
Creator:
Tim Yamin (RETIRED)
Created:
2004-09-06 12:34:37 UTC
Size:
572 bytes
patch
obsolete
>Index: linux-2.6.5/fs/devpts/inode.c >=================================================================== >--- linux-2.6.5.orig/fs/devpts/inode.c >+++ linux-2.6.5/fs/devpts/inode.c >@@ -178,9 +178,13 @@ struct tty_struct *devpts_get_tty(int nu > { > struct dentry *dentry = get_node(number); > struct tty_struct *tty; >- >- tty = (IS_ERR(dentry) || !dentry->d_inode) ? NULL : >- dentry->d_inode->u.generic_ip; >+ >+ tty = NULL; >+ if (!IS_ERR(dentry)) { >+ if (dentry->d_inode) >+ tty = dentry->d_inode->u.generic_ip; >+ dput(dentry); >+ } > > up(&devpts_root->d_inode->i_sem); >
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 62524
:
39082
| 39083 |
39084