Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 237117 Details for
Bug 307983
app-shells/mksh likes to try to write to /dev/urandom
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for arc4random.c.1.14
mksh-39c-urandom-write.patch (text/plain), 479 bytes, created by
Fabian Köster
on 2010-07-01 09:30:54 UTC
(
hide
)
Description:
Patch for arc4random.c.1.14
Filename:
MIME Type:
Creator:
Fabian Köster
Created:
2010-07-01 09:30:54 UTC
Size:
479 bytes
patch
obsolete
>Index: work/mksh/arc4random.c >=================================================================== >--- work.orig/mksh/arc4random.c >+++ work/mksh/arc4random.c >@@ -367,14 +367,7 @@ arc4_writeback(uint8_t *buf, size_t len, > memcpy(buf, &num, sizeof (num)); > return (do_rd ? 0 : 1); > #else >- int fd; >- >- if ((fd = open(__randomdev, O_WRONLY)) != -1) { >- if (write(fd, buf, len) < 4) >- do_rd = 1; >- close(fd); >- } >- return (do_rd || fd == -1 ? 0 : 1); >+ return (0); > #endif > } >
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 307983
: 237117