[sane-devel] Problems with libusb (WAS:Upgrading sane-backend on Mandrake 10.0)

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Sat, Oct 16, 2004 at 08:35:28AM -0700, Lloyd Sumpter wrote: > >You can check by running "sane-find-scanner -v -v". It should print > >messages about using libusb. > > Thanks for your help! But on Sept 29, you wrote: Oh, different thread, same problem? I usually don't look at the author's

[sane-devel] [BUG] saned: missing input sanitization

2004-10-16 Thread Johannes Berg
--=-5n0e72bCo6NIQyEFjdhX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-10-16 at 16:10 +0200, Henning Meier-Geinitz wrote: > For sane_net a zero-lenth string is 0 0 0 1 0 (Array of length 1 which > only contains a 0 byte as end marker). Reading through the code

[sane-devel] [BUG] saned: missing input sanitization

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Sat, Oct 16, 2004 at 04:01:20PM +0200, Johannes Berg wrote: > I think the problem is that the network layer does not distinguish > between zero-length strings and NULL pointers -- as far as I can see it > interprets a zero-length string A zero length string is e.g. SANE_String hubba = "";

[sane-devel] [BUG] saned: missing input sanitization

2004-10-16 Thread Johannes Berg
--=-RvFmJl5eUaAjiXBPw3Ib Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-10-16 at 15:48 +0200, Henning Meier-Geinitz wrote: > I've added a check to CVS. It returns an error to the client because I > think that's a protocol violation. Zero-length strings are allowe

[sane-devel] [BUG] saned: missing input sanitization

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 15, 2004 at 03:47:40PM +0200, Johannes Berg wrote: > SANE_NET_OPEN makes saned segfault if a NULL name is passed, because it > tries to strdup() the name without checking for != NULL. I've added a check to CVS. It returns an error to the client because I think that's a protocol vi

[sane-devel] saned/sanei net bug

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 15, 2004 at 04:03:04PM +0200, Johannes Berg wrote: > somehow saned/the sanei network layer seem to get buffering wrong. I'm afraid that that's intentional. But that's only a guess. > For example, I send the following: > > SANE_NET_INIT > SANE_NET_GET_DEVICES > SANE_NET_EXIT > >

[sane-devel] weird message configuring sane-frontends

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 15, 2004 at 04:03:24PM +0200, Johannes Berg wrote: > [configure fails because it can't find sane-config] > "You may need to remove /dev/null before you run configure again." > > Clearly, that is not something you want to do. That's the penalty for users who don't read the docs an

[sane-devel] Snapscan: Epson 2480 hangs on amd64

2004-10-16 Thread Julien BLACHE
Oliver Schwartz wrote: Hi Oliver, >> [snapscan] read_calibration_data: snapscan_cmd command failed: >> Error during device I/O [snapscan] calibrate: read_calibration_data >> command failed: Error during device I/O [snapscan] >> sane_snapscan_start: calibration failed. > > the error occurs during

[sane-devel] possible bin_w_string security issue (not)

2004-10-16 Thread Johannes Berg
--=-yhkGcHckmX4ZO5PEvTHQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, > SIGPIPE (ok, I read your mail before answering) :-) :-) > Nearly any protocol violation from server or client can have strange > results. That's one of the problems with the SANE net protocol. >=

[sane-devel] Snapscan: Epson 2480 hangs on amd64

2004-10-16 Thread Oliver Schwartz
Hi, > [snapscan] read_calibration_data: snapscan_cmd command failed: > Error during device I/O [snapscan] calibrate: read_calibration_data > command failed: Error during device I/O [snapscan] > sane_snapscan_start: calibration failed. the error occurs during quality calibration. It's a known issu

[sane-devel] possible bin_w_string security issue (not)

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 15, 2004 at 03:47:06PM +0200, Johannes Berg wrote: > I was going to write a mail without the "(not)" but then discovered that > this issue is actually a non-issue, but this is totally non-obvious. > > Would you know off-hand why? SIGPIPE (ok, I read your mail before answering) :-

[sane-devel] Problem with Olivetti Job_Jet M400

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Sat, Oct 16, 2004 at 08:04:34AM +0200, Livhu Tshisikule wrote: > Henning, > > Thanks a lot, here are the results of sane-find-scanner -v -v Thanks. I'll add that scanner as unsupported to our lists. Bye, Henning

[sane-devel] Timetable for the release of sane-backends-1.0.15

2004-10-16 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 15, 2004 at 04:44:42PM +0200, Oliver Rauch wrote: > I am not able to get access to the CVS server (permission denied). > Please could someone who has acces to the server take a look at that?! The reason was a 100% full / file system which stopped login and other services like mail

[sane-devel] Snapscan: Epson 2480 hangs on amd64

2004-10-16 Thread Julien BLACHE
Hi, My Epson 2480 hangs when doing a preview on an amd64 box, however it works fine on both an i386 and a PowerPC boxes. Here's the end of the log : [snapscan] sane_snapscan_start: after measuring speed: 3816 bytes per scan line 0.00 milliseconds per scan line. ==>inf

[sane-devel] Timetable for the release of sane-backends-1.0.15

2004-10-16 Thread Julien BLACHE
Oliver Rauch wrote: > I am not able to get access to the CVS server (permission denied). > Please could someone who has acces to the server take a look at that?! It should be working again, LDAP crashed again. JB. -- Julien BLACHE

[sane-devel] Timetable for the release of sane-backends-1.0.15

2004-10-16 Thread Oliver Rauch
Am Fre, 2004-10-15 um 16.44 schrieb Oliver Rauch: > Hello. > > I am not able to get access to the CVS server (permission denied). > Please could someone who has acces to the server take a look at that?! > > I suggest to delay the feature freeze for some days when this > is not solved soon. Today

[sane-devel] Problems with libusb (WAS:Upgrading sane-backend on Mandrake 10.0)

2004-10-16 Thread Lloyd Sumpter
Henning Meier-Geinitz wrote: > Hi, > > On Fri, Nov 22, 2002 at 08:03:23AM -0800, Lloyd Sumpter wrote: > > Strange date. > Sorry, had just rebooted (from the problems between harddrake and sane-find-scanner) and hadn't run rdate yet. > >>BTW: The reason I have to upgrade is that apparently t

[sane-devel] Problem with Olivetti Job_Jet M400

2004-10-16 Thread Livhu Tshisikule
Henning, Thanks a lot, here are the results of sane-find-scanner -v -v bLength 18 bDescriptorType 1 bcdUSB2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0B3C idProduct 0x