|
From: Ludovic R. <lud...@gm...> - 2012-11-19 12:42:45
|
2012/11/19 Akos Vandra <ax...@gm...> > Hi! Hello, > If libusb_init is supplied with a nil pointer, it causes a segfault. Even > though this is a user application error, it should be checked, and an error > should be returned. > You are not passing a NULL pointer but a pointer pointing to NULL. It is valid to use libusb_init(NULL); > The fix is quite trivial I guess. > I agree. You should fix your application to pass a valid pointer. Regards, -- Dr. Ludovic Rousseau |