Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 155620 Details for
Bug 241718
CVE-2007-2453 /dev/random broken
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch
CVE-2007-2453.patch (text/plain), 930 bytes, created by
Mark J. Cox
on 2007-05-29 19:15:51 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Mark J. Cox
Created:
2007-05-29 19:15:51 UTC
Size:
930 bytes
patch
obsolete
> >From 115a45b29cab8f28cce567b0858464b9bf765848 Mon Sep 17 00:00:00 2001 >From: Theodore Ts'o <tytso@mit.edu> >Date: Tue, 29 May 2007 13:27:11 -0400 >Subject: [PATCH] random: Fix bug which prevented the full pool from being hashed > >Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> >--- > drivers/char/random.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/drivers/char/random.c b/drivers/char/random.c >index 46c1b97..722d7f5 100644 >--- a/drivers/char/random.c >+++ b/drivers/char/random.c >@@ -772,7 +772,7 @@ static void extract_buf(struct entropy_store *r, __u8 *out) > * attempts to find previous ouputs), unless the hash > * function can be inverted. > */ >- for (i = 0, x = 0; i < r->poolinfo->poolwords; i += 16, x+=2) { >+ for (i = 0, x = 0; i < r->poolinfo->POOLBYTES; i += 16, x+=2) { > sha_transform(buf, (__u8 *)r->pool+i, buf + 5); > add_entropy_words(r, &buf[x % 5], 1); > } >-- >1.5.2.25.gcd857 >
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 241718
: 155620