libgphoto2 segfaults with some USB devices, at leat on 9-CURRENT, because it missed a check on libusb's returned structures. This problem is fixed in the libgphoto2 SVN (r12693), but not in the current release. So please put the attached patch in files/ so that libghoto2 becomes more robust. Fix: Put the attached patch into files/ Patch attached with submission follows: How-To-Repeat: gphoto2 -l -> Segfault (at least with my USB devices)
Responsible Changed From-To: freebsd-ports-bugs->pav Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed, thanks!
pav 2011-01-16 21:39:38 UTC FreeBSD ports repository Modified files: graphics/libgphoto2 Makefile Added files: graphics/libgphoto2/files patch-libgphoto2_port-usb-libusb.c Log: - Fix segfault on certain usb devices PR: ports/154057 Submitted by: Lucius Windschuh <lwindschuh@gmail.com> Feature safe: yes Revision Changes Path 1.59 +1 -0 ports/graphics/libgphoto2/Makefile 1.1 +45 -0 ports/graphics/libgphoto2/files/patch-libgphoto2_port-usb-libusb.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"