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 147354 Details for
Bug 207463
CVE-2006-4813 Information leak in __block_prepare_write()
[?]
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]
patch against your lastest public kernel
diff-ms-fs-preparewrite-eh-20070202 (text/plain), 1009 bytes, created by
Monakhov Dmitriy
on 2007-02-05 13:33:15 UTC
(
hide
)
Description:
patch against your lastest public kernel
Filename:
MIME Type:
Creator:
Monakhov Dmitriy
Created:
2007-02-05 13:33:15 UTC
Size:
1009 bytes
patch
obsolete
>--- ./fs/buffer.c.eh 2007-02-01 00:25:06.000000000 +0300 >+++ ./fs/buffer.c 2007-02-02 17:35:27.000000000 +0300 >@@ -2049,7 +2049,7 @@ static int __block_prepare_write(struct > if (!buffer_mapped(bh)) { > err = get_block(inode, block, bh, 1); > if (err) >- goto out; >+ break; > if (buffer_new(bh)) { > unmap_underlying_metadata(bh->b_bdev, > bh->b_blocknr); >@@ -2090,17 +2090,17 @@ static int __block_prepare_write(struct > while(wait_bh > wait) { > wait_on_buffer(*--wait_bh); > if (!buffer_uptodate(*wait_bh)) >- return -EIO; >+ err = -EIO; > } >- >- bh = head; >- do { >- if (buffer_new(bh)) >- clear_buffer_new(bh); >- } while ((bh = bh->b_this_page) != head); >- >- return 0; >-out: >+ if (!err) { >+ bh = head; >+ do { >+ if (buffer_new(bh)) >+ clear_buffer_new(bh); >+ } while ((bh = bh->b_this_page) != head); >+ return 0; >+ } >+ /* Error case: */ > /* > * Zero out any newly allocated blocks to avoid exposing stale > * data. If BH_New is set, we know that the block was newly
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 207463
:
136834
|
136835
|
136836
| 147354