Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129952 Details for
Bug 188148
app-emulation/bochs DoS and heap overflow (CVE 2007-28{93,94})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for CVE-2007-2894 from CVS
bochs-2.3-CVE-2007-2894.patch (text/plain), 1.32 KB, created by
Carlo Marcelo Arenas Belon
on 2007-09-03 22:30:22 UTC
(
hide
)
Description:
fix for CVE-2007-2894 from CVS
Filename:
MIME Type:
Creator:
Carlo Marcelo Arenas Belon
Created:
2007-09-03 22:30:22 UTC
Size:
1.32 KB
patch
obsolete
>Index: iodev/floppy.cc >=================================================================== >RCS file: /cvsroot/bochs/bochs/iodev/floppy.cc,v >retrieving revision 1.106 >retrieving revision 1.107 >diff -u -p -r1.106 -r1.107 >--- iodev/floppy.cc 6 Apr 2007 15:22:17 -0000 1.106 >+++ iodev/floppy.cc 21 Aug 2007 14:18:16 -0000 1.107 >@@ -1785,7 +1785,7 @@ bx_bool bx_floppy_ctrl_c::evaluate_media > } > media->sectors = media->heads * media->tracks * media->sectors_per_track; > } >- return(1); // success >+ return (media->sectors > 0); // success > } > > else if ( S_ISCHR(stat_buf.st_mode) >@@ -1805,7 +1805,7 @@ bx_bool bx_floppy_ctrl_c::evaluate_media > media->heads = floppy_type[type_idx].hd; > media->sectors_per_track = floppy_type[type_idx].spt; > media->sectors = floppy_type[type_idx].sectors; >- return 1; >+ return (media->sectors > 0); > } > media->tracks = floppy_geom.track; > media->heads = floppy_geom.head; >@@ -1822,7 +1822,7 @@ bx_bool bx_floppy_ctrl_c::evaluate_media > media->sectors_per_track = floppy_type[type_idx].spt; > media->sectors = floppy_type[type_idx].sectors; > #endif >- return 1; // success >+ return (media->sectors > 0); // success > } else { > // unknown file type > BX_ERROR(("unknown mode type"));
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 188148
:
129950
| 129952