Fix get_device_list for realloc case
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 15 Mar 2008 11:50:53 +0000 (13:50 +0200)
committerDaniel Drake <dsd@gentoo.org>
Sat, 15 Mar 2008 12:26:06 +0000 (12:26 +0000)
commit285724cc14ea5f993e2c4c92fe0aaf6c335bc139
tree7f6dbcab7bd9abccc5073f427eb12cf1c93f5143
parentc0c9432d38b22784070dce3a7874c62c31786a27
Fix get_device_list for realloc case

get_device_list can modify pointer passed to it with realloc, but this
case wasn't handled and caused crash on my machine. Fixed

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
libusb/core.c
libusb/libusbi.h
libusb/os/linux_usbfs.c