[sane-devel] Network backend and lineart mode

2012-08-10 Thread Aleksandr Dezhin
On 08/08/2012 11:02 PM, Stef wrote: > On 08/08/2012 14:40, Aleksandr Dezhin wrote: >> On 08/05/2012 12:13 AM, Stef wrote: >>> Hello, >>> >>> in some cases, the genesys backend returns more data than >>> max_len in sane_read, which is wrong and crashes saned (buffer >>> overflow). I am goi

[sane-devel] Network backend and lineart mode

2012-08-08 Thread Stef
On 08/08/2012 14:40, Aleksandr Dezhin wrote: > On 08/05/2012 12:13 AM, Stef wrote: >> Hello, >> >> in some cases, the genesys backend returns more data than max_len >> in sane_read, which is wrong and crashes saned (buffer overflow). I >> am going to put a temporary fix, since the rewrite

[sane-devel] Network backend and lineart mode

2012-08-08 Thread Aleksandr Dezhin
On 08/05/2012 12:13 AM, Stef wrote: > Hello, > > in some cases, the genesys backend returns more data than max_len > in sane_read, which is wrong and crashes saned (buffer overflow). I am > going to put a temporary fix, since the rewrite needed is too big for > SANE 1.0.23. > > Regards,

[sane-devel] Network backend and lineart mode

2012-08-04 Thread Stef
On 31/07/2012 15:15, Aleksandr Dezhin wrote: > On 07/30/2012 11:57 PM, Stef wrote: >> could you send me the exact scanimage command you use on the client >> side ? > > # scanimage -L > device `genesys:libusb:002:003' is a Canon LiDE 210 flatbed scanner > device `net:localhost:genesys:libusb:002:003

[sane-devel] Network backend and lineart mode

2012-07-31 Thread Aleksandr Dezhin
On 07/30/2012 11:57 PM, Stef wrote: > could you send me the exact scanimage command you use on the client > side ? # scanimage -L device `genesys:libusb:002:003' is a Canon LiDE 210 flatbed scanner device `net:localhost:genesys:libusb:002:003' is a Canon LiDE 210 flatbed scanner # scanimage -d ge

[sane-devel] Network backend and lineart mode

2012-07-31 Thread Stef
On 31/07/2012 15:15, Aleksandr Dezhin wrote: > On 07/30/2012 11:57 PM, Stef wrote: >> could you send me the exact scanimage command you use on the client >> side ? > > # scanimage -L > device `genesys:libusb:002:003' is a Canon LiDE 210 flatbed scanner > device `net:localhost:genesys:libusb:002:003

[sane-devel] Network backend and lineart mode

2012-07-30 Thread Stef
On 30/07/2012 21:57, Stef wrote: > Hello, > > could you send me the exact scanimage command you use on the > client side ? > > Regards, > Stef > > Hello, I eventually reproduced the bug. Now I'm looking into fixing it. Regards, Stef

[sane-devel] Network backend and lineart mode

2012-07-30 Thread Stef
Hello, could you send me the exact scanimage command you use on the client side ? Regards, Stef

[sane-devel] Network backend and lineart mode

2012-07-30 Thread Stef
On 30/07/2012 12:47, Aleksandr Dezhin wrote: > On 07/29/2012 10:35 AM, stef wrote: >> Le 29/07/2012 08:22, Aleksandr Dezhin a ?crit : >>> On 07/28/2012 12:46 PM, Stef wrote: On 27/07/2012 23:25, Aleksandr Dezhin wrote: > Dear developers, > > I am trying to develop another web-based

[sane-devel] Network backend and lineart mode

2012-07-30 Thread Aleksandr Dezhin
On 07/30/2012 02:47 PM, Aleksandr Dezhin wrote: > On 07/29/2012 10:35 AM, stef wrote: >> Le 29/07/2012 08:22, Aleksandr Dezhin a ?crit : >>> On 07/28/2012 12:46 PM, Stef wrote: On 27/07/2012 23:25, Aleksandr Dezhin wrote: > Dear developers, > > I am trying to develop another web-ba

[sane-devel] Network backend and lineart mode

2012-07-30 Thread Aleksandr Dezhin
On 07/29/2012 10:35 AM, stef wrote: > Le 29/07/2012 08:22, Aleksandr Dezhin a ?crit : >> On 07/28/2012 12:46 PM, Stef wrote: >>> On 27/07/2012 23:25, Aleksandr Dezhin wrote: Dear developers, I am trying to develop another web-based interface for sane. Faced with a problem, and

[sane-devel] Network backend and lineart mode

2012-07-29 Thread Aleksandr Dezhin
On 07/28/2012 12:46 PM, Stef wrote: > On 27/07/2012 23:25, Aleksandr Dezhin wrote: >> Dear developers, >> >> I am trying to develop another web-based interface for sane. Faced >> with a problem, and do not know how to avoid it or solve it. >> >> I have Canon LiDE 210 scanner, it works fine with ge

[sane-devel] Network backend and lineart mode

2012-07-29 Thread stef
Le 29/07/2012 08:22, Aleksandr Dezhin a ?crit : > On 07/28/2012 12:46 PM, Stef wrote: >> On 27/07/2012 23:25, Aleksandr Dezhin wrote: >>> Dear developers, >>> >>> I am trying to develop another web-based interface for sane. Faced >>> with a problem, and do not know how to avoid it or solve it. >>>

[sane-devel] Network backend and lineart mode

2012-07-28 Thread Stef
On 27/07/2012 23:25, Aleksandr Dezhin wrote: > Dear developers, > > I am trying to develop another web-based interface for sane. Faced > with a problem, and do not know how to avoid it or solve it. > > I have Canon LiDE 210 scanner, it works fine with genesys backend. > Locally scanimage works in

[sane-devel] Network backend and lineart mode

2012-07-28 Thread Aleksandr Dezhin
Dear developers, I am trying to develop another web-based interface for sane. Faced with a problem, and do not know how to avoid it or solve it. I have Canon LiDE 210 scanner, it works fine with genesys backend. Locally scanimage works in all modes: color, gray, lineart. However, if I scan thr