Olaf Meeuwissen
b9b0173409
epsonds: Prevent possible buffer overflow when reading image data
...
Addresses GHSL-2020-084, re #279 .
2020-04-27 20:24:44 +09:00
Olaf Meeuwissen
797cd1fb37
epson2, epsonds, kodakaio, magicolor: Don't set invalid value
...
If the value to be set is not valid, it should not change the sval
structure (even if doing so has no negative side effects).
This also makes the fallthrough less confusing by removing the first
cast of two for the br-x and br-y values.
2019-08-11 10:04:19 +09:00
Povilas Kanapickas
e40596c2a5
Fix -Wimplicit-fallthrough warnings by adding standard annotations
2019-06-30 11:58:32 +03:00
Jerome Duval
2284c6e034
epsonds: add missing includes
...
Fixes build failure on Haiku. Alioth Tracker: 315750.
2017-06-07 21:18:48 +09:00
René Rebe
5b10b0b635
epson2: fixed network transport for new scanners
...
increased command buffer due memory overrun, and always read receive
status, even for zero length on network scanenrs, should fix #315552
2017-05-05 07:09:04 +02:00
Alessandro Zummo
9b389a61c5
epsonds: added support for network scanners
2016-06-21 00:44:29 +02:00
Alessandro Zummo
41a416e4af
epsonds: fixed resolution setting bug, DS-60000 workaround is needed no more
2016-03-21 19:10:29 +01:00
Alessandro Zummo
8fd6151acd
epsonds: fix stripes on DS-60000 at 1bpp/300dpi
2016-01-22 17:38:00 +01:00
Alessandro Zummo
4fa7f4f6f8
epsonds: clear endpoints on startup in order to fix some strange scanner / xhci combo
2016-01-22 17:01:57 +01:00
Alessandro Zummo
6d8b8d5aa6
epsonds: fix duplex w/ double feed detection
2015-12-15 16:17:53 +01:00
Alessandro Zummo
03d90ac2ed
epsonds: do not enable double feed detection by default
2015-10-14 21:55:31 +02:00
Olaf Meeuwissen
4c49c87827
Fix mixed declarations and code warnings (ISO C90)
2015-09-25 20:53:42 -04:00
Alessandro Zummo
10c5ec697b
epsonds: streamlined device detection
2015-05-13 00:01:24 +02:00
Alessandro Zummo
b2aefab4cb
epsonds: enable double feed detection
2015-04-26 23:11:37 +02:00
Alessandro Zummo
ccd15dc966
Revert "epsonds: enable double feed detection"
...
This reverts commit 005c3928a5
.
2015-04-26 23:09:08 +02:00
Alessandro Zummo
005c3928a5
epsonds: enable double feed detection
2015-04-26 22:44:01 +02:00
Alessandro Zummo
0d6f925e75
epsonds: support resolution ranges in pleace of a fixed list on selected scanners
2015-04-08 01:37:54 +02:00
Alessandro Zummo
225e00ceae
epsonds: send scanning parameter all at once
2015-04-07 00:20:43 +02:00
Alessandro Zummo
c3545da14d
epsonds: code cleanup, fix initial hang
2015-04-07 00:20:43 +02:00
Alessandro Zummo
d72f4663c0
epsonds: driver for Epson ESC/I-2 scanners
2015-04-07 00:20:43 +02:00