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 311361 Details for
Bug 437086
xen: buffer overflow detected: qcow-create terminated
[?]
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]
Fix buflens for args to realpath()
xen-qemu-realpath-buflen.patch (text/plain), 1.56 KB, created by
Daniel Berrangé
on 2008-07-09 10:40:45 UTC
(
hide
)
Description:
Fix buflens for args to realpath()
Filename:
MIME Type:
Creator:
Daniel Berrangé
Created:
2008-07-09 10:40:45 UTC
Size:
1.56 KB
patch
obsolete
>diff -rup xen-3.1.0-src.orig/tools/blktap/drivers/block-qcow.c xen-3.1.0-src.new/tools/blktap/drivers/block-qcow.c >--- xen-3.1.0-src.orig/tools/blktap/drivers/block-qcow.c 2007-05-18 15:45:21.000000000 +0100 >+++ xen-3.1.0-src.new/tools/blktap/drivers/block-qcow.c 2008-07-04 10:58:40.000000000 +0100 >@@ -1219,7 +1219,7 @@ int qcow_create(const char *filename, ui > int shift, length, adjust, flags = 0, ret = 0; > QCowHeader header; > QCowHeader_ext exthdr; >- char backing_filename[1024], *ptr; >+ char backing_filename[PATH_MAX], *ptr; > uint64_t tmp, size, total_length; > struct stat st; > >diff -rup xen-3.1.0-src.orig/tools/ioemu/block.c xen-3.1.0-src.new/tools/ioemu/block.c >--- xen-3.1.0-src.orig/tools/ioemu/block.c 2008-07-04 10:56:45.000000000 +0100 >+++ xen-3.1.0-src.new/tools/ioemu/block.c 2008-07-04 10:59:37.000000000 +0100 >@@ -273,7 +273,7 @@ int bdrv_open2(BlockDriverState *bs, con > BlockDriver *drv) > { > int ret; >- char tmp_filename[1024]; >+ char tmp_filename[PATH_MAX]; > > bs->read_only = 0; > bs->is_temporary = 0; >diff -rup xen-3.1.0-src.orig/tools/ioemu/block-qcow.c xen-3.1.0-src.new/tools/ioemu/block-qcow.c >--- xen-3.1.0-src.orig/tools/ioemu/block-qcow.c 2007-05-18 15:45:21.000000000 +0100 >+++ xen-3.1.0-src.new/tools/ioemu/block-qcow.c 2008-07-09 11:36:19.000000000 +0100 >@@ -537,7 +537,7 @@ static int qcow_create(const char *filen > { > int fd, header_size, backing_filename_len, l1_size, i, shift; > QCowHeader header; >- char backing_filename[1024]; >+ char backing_filename[PATH_MAX]; > uint64_t tmp; > struct stat st; >
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 437086
: 311361