qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] USB port NULL pointer causes segv


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] USB port NULL pointer causes segv
Date: Wed, 17 Aug 2011 23:43:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110805 Red Hat/3.1.12-1.el6_1 Thunderbird/3.1.12

  Hi,

in usb-linux.c my qemu crashes in
static int usb_host_open(USBHostDevice *dev, int bus_num, int addr, char
*port, const char *prod_name, int speed)

because port is NULL.

The attached patches should fix this.

cheers,
  Gerd

Attachment: 0001-usb-linux-constify-port.patch
Description: Text document

Attachment: 0002-usb-linux-set-port-to-non-NULL-for-proc-bus-usb-devi.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]