Re: usb/106435: Possible buffer overflow in dev/usb/ums.c
Sorry, missed the double quote in the patch. The real patch should be: --- ums.c.orig Tue Dec 5 13:29:34 2006 +++ ums.c Tue Dec 5 13:31:40 2006 @@ -431,9 +431,10 @@ #define UMS_BUT(i) ((i) 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, (ums_intr: sc=%p status=%d\n, sc, status)); - DPRINTFN(5, (ums_intr: data = %02x %02x %02x %02x %02x %02x\n, -sc-sc_ibuf[0], sc-sc_ibuf[1], sc-sc_ibuf[2], -sc-sc_ibuf[3], sc-sc_ibuf[4], sc-sc_ibuf[5])); + DPRINTFN(5, (ums_intr: data =)); + for (i = 0; i sc-sc_isize; i++) + DPRINTFN(5, ( %02x, sc-sc_ibuf[i])); + DPRINTFN(5, (\n)); if (status == USBD_CANCELLED) return; -- Eygene ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot from JetFlash USB device fails
Hi All In one of our products, we have support for taking snapshot in to USB device and booting from USB in the next reboot. This feature works fine with most of the USB devices. However it is not working fine with USB : JetFlash TS512MJF110 ( but it boots fine once in 20 trials) Also It works fine with other families of the same product. Would like to know if JetFlash TS512MJF110 is supoted by free BSD. If yes, is there any fix for it? I have pasted below the log message we are getting during the boot time: Trying to boot from USB device ... Loading /boot/loader No /boot/loader, next boot from alternate path Loading /cf/boot/loader Disk error 0x1 (lba=0x58060) No /cf/boot/loader FreeBSD/i386 BOOT Default: 0:da(0,a)/kernel boot: No /kernel FreeBSD/i386 BOOT Default: 0:da(0,a)/kernel boot: Please let us know how to proceed on this. Thnaks and Regards Srinath __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]