[sane-devel] Bug in net.c sane_exit

2003-02-21 Thread Henning Meier-Geinitz
Hi, On Fri, Feb 21, 2003 at 08:36:57AM -0800, George Garvey wrote: > On Fri, Feb 21, 2003 at 04:13:21PM +0100, Henning Meier-Geinitz wrote: > > On Thu, Feb 20, 2003 at 04:14:51PM -0800, George Garvey wrote: > > >Doesn't set global variables to NULL. > > Right. I'm curious: Which frontend are y

[sane-devel] Bug in net.c sane_exit

2003-02-21 Thread Henning Meier-Geinitz
Hi, On Thu, Feb 20, 2003 at 04:14:51PM -0800, George Garvey wrote: >Doesn't set global variables to NULL. Oops. Thanks for pointing out. This bug may also exist in other backends. > Then another sane_init uses invalid pointers when reading the config > file, and the next sane_exit seg faults

[sane-devel] Bug in net.c sane_exit

2003-02-21 Thread George Garvey
On Fri, Feb 21, 2003 at 04:13:21PM +0100, Henning Meier-Geinitz wrote: > On Thu, Feb 20, 2003 at 04:14:51PM -0800, George Garvey wrote: > >Doesn't set global variables to NULL. > Right. I'm curious: Which frontend are you using? Most frontends don't > call sane_exit and then sane_init again, as

[sane-devel] Bug in net.c sane_exit

2003-02-20 Thread George Garvey
Doesn't set global variables to NULL. Then another sane_init uses invalid pointers when reading the config file, and the next sane_exit seg faults. I don't know if the second patch is necessary. Only first_device gave me troubles. Index: inX.8/backend/net.c --- inX.8/backend/net.c Wed, 12 Fe