David Ward
f3162bafa8
Replace variable self-assignments to avoid Clang warnings
...
These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.
Use another approach that suppresses warnings from both compilers.
2022-03-08 19:00:00 -05:00
Ralph Little
1e88e1504e
epsonds: Merge to master
2021-07-03 15:55:25 -07:00
Olaf Meeuwissen
f38c9f0d64
Merge branch 'issue09-esci2-img-buffer-size-check' into '279-confidential-issue'
...
epsonds: Prevent possible buffer overflow when reading image data
See merge request paddy-hack/backends!8
2020-05-07 09:42:42 +00:00
Olaf Meeuwissen
3d005c2570
Merge branch 'issue05-out-of-bounds-read-decode_binary' into '279-confidential-issue'
...
epsonds: Do not read beyond the end of the token
See merge request paddy-hack/backends!5
2020-05-06 04:06:49 +00:00
Olaf Meeuwissen
226d9c9289
Merge branch 'issue07-out-of-bounds-read-in-esci2_check_header' into '279-confidential-issue'
...
epsonds: Read only up to seven hexdigits to determine payload size
See merge request paddy-hack/backends!6
2020-05-06 04:05:59 +00:00
Olaf Meeuwissen
fe08bbee6b
epsonds: Handle error condition. Re #279 , issue 8
2020-05-04 11:48:46 +09:00
Olaf Meeuwissen
27ea994d23
epsonds: Do not read beyond the end of the token
...
Addresses GHSL-2020-082, re #279 .
2020-04-30 21:15:45 +09:00
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
db9480b09e
epsonds: Read only up to seven hexdigits to determine payload size
...
Addresses GHSL-2020-083, re #279 .
2020-04-27 20:24:11 +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
Olaf Meeuwissen
ba1e395c66
Fix size_t printf format warnings
2015-09-25 20:53:42 -04:00
Olaf Meeuwissen
4c49c87827
Fix mixed declarations and code warnings (ISO C90)
2015-09-25 20:53:42 -04: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
2aed026154
epsonds: use maximum area for ADF
2015-04-08 02:29:20 +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
02ae5c07ea
epsonds: optimize the img callback
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