| Submitter | Loïc Minier |
|---|---|
| Date | May 22, 2010, 4:13 p.m. |
| Message ID | <20100522161358.32211.74968.malone@wampee.canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/53273/ |
| State | New |
| Headers | show |
Comments
Patch
--- qemu-kvm-0.12.3+dfsg/vl.c 2010-02-26 11:34:00.000000000 +0900 +++ qemu-kvm-0.12.3+dfsg.old/vl.c 2010-03-11 02:26:00.134217787 +0900 @@ -2397,7 +2397,7 @@ dinfo->on_write_error = on_write_error; dinfo->opts = opts; if (serial) - strncpy(dinfo->serial, serial, sizeof(serial)); + strncpy(dinfo->serial, serial, sizeof(dinfo->serial)); QTAILQ_INSERT_TAIL(&drives, dinfo, next); if (is_extboot) { extboot_drive = dinfo;
Patch still applies on top of qemu-kvm.git and qemu.git ** Bug watch added: Debian Bug tracker #573439 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439 Importance: Unknown Status: Unknown ** Also affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New