On Thu, 29 Oct 2009, Hans Petter Selasky wrote:
> The libUSB device pointer usage in sane needs to be audited. Probably
> it is best to figure out where the following functions are called:
>
>  usb_find_busses() usb_find_devices() usb_device()
>      usb_get_busses()
>
> And carefully check how the libusb device handle pointers are
> updated.

I wasn't really up to that unfortunately :(
I had a look and I couldn't see it free anything, but I am not 100% sure 
how the libusb stuff works internally. I note that the pdev does not 
appear free'd but uninitialised.

However I did notice that SANE has 1.0 API support and using that does 
not trigger this problem.

Now to convince configure to pick it up by default :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to