[sane-devel] Double-free following scan on ubuntu hardy 8.04 with epjitsu fi-60f

m. allan noah kitno455 at gmail.com
Mon Apr 28 22:49:59 UTC 2008


ouch- i go away for a few hours, and my code grows bugs, and gets valgound :)

i think Jochen hit the nail on the head, i'll fix it ASAP.

allan

On 4/28/08, Jochen Eisinger <jochen at penguin-breeder.org> wrote:
> Hi,
>
>  I guess the bug is that in sane_close the scanner_devList entry
>  corresponding to the open handle is destroyed, and later in sane_exit
>  all scanner_devList entries are destroyed again.
>
>  I guess in sane_close, the entry should be be destroyed, but only marked
>  as free or so.
>
>  regards
>
> -- jochen
>
>
>
>  --
>  sane-devel mailing list: sane-devel at lists.alioth.debian.org
>  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>  Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list