On Thu, 2009-07-23 at 10:49 +0200, Till Kamppeter wrote: > You are missing the NULL check here (musb.c, line 2083): > > ieee1284_id = udev_device_get_sysattr_value (ddev, "ieee1284_id"); > strncpy (device_id, ieee1284_id, len); > device_id[len - 1] = '\0';
Thank you, fixed. > An additional strange thing here is that we reach this point as without > usblp the libusb method should always obtain the device ID. So perhaps > the code has another bug and I got my device IDs always by the kernel > module/udev method? Perhaps the permissions are not correct on /dev/bus/usb/xxx/yyy? Tim. */
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel
