[sane-devel] saned issues for remote scanner access
    Julien BLACHE 
    jb at jblache.org
       
    Sun Feb 22 10:14:16 GMT 2004
    
    
  
Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
Hi,
> Now again in the main part of saned:
>
>     sane_cancel (handle[h].handle);
>
> That's called with h = -1. Either that causes a segfault or the call
> to sane_cancle of the gt68xx backend with some random handle causes
> the segfault.
It segfaults right away when the pointer is dereferenced, probably
early in sane_cancel().
> I guess saned should check for -1 here before calling sane_cancel.
Definitely. Thanks for tracking it down, I was going to do just that
later in the afternoon.
JB.
-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169
    
    
More information about the sane-devel
mailing list