Your message dated Mon, 12 Jul 2021 15:18:26 +0000
with message-id <[email protected]>
and subject line Bug#980311: fixed in sane-backends 1.0.32-3
has caused the Debian Bug report #980311,
regarding libsane backend 'gt68xx' model string uninitialized (affects XSane 
operation)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
980311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsane1
Version: 1.0.31-4

On Debian/Buster with libsane 1.0.27-3.2 as well as on Bullseye with
libsane1 1.0.31-4 I observe the following (Arch: AMD64).

Using a Plustek OpticSlim 2400+ USB scanner with the gt68xx SANE backend
works. The scanner is:

$> lsusb | grep -i plustek
Bus 005 Device 003: ID 07b3:0454 Plustek, Inc. 

However, the "model" name as reported by 'scanimage -L' is broken:

$> scanimage -L
device `gt68xx:libusb:005:003' is a Plustek �_
                                              ~�U flatbed scanner

The breakage looks different every time. I have not experienced a segfault
yet. Looks a lot like an uninitialized buffer or a pointer not being 
dereferenced.

XSane saves the current scan settings as per reported vendor and model name,
so for each time it uses that scanner, it sees a different vendor/model string
and therefore "forgets" the latest settings.


My /etc/sane.d/gt68xx.conf for the OpticSlim (vendor/model added over the
packaged version) has:

##############################################################################
# Autodetect Plustek OpticSlim 2400 plus
usb 0x07b3 0x0454
override "plustek-opticslim-2400"
vendor "Plustek"
model "OpticSlim 2400 Plus"


I'm sure this is the correct entry, since the USB vendor/product IDs match.
Changing the "vendor" string properly gets propagated through to the scanimage
output, while changing "model" does not. Even removing the "vendor" and "model"
entries from gt68xx.conf leads to the same behaviour.

I don't think the scanner firmware file matters here, but for completeness' 
sake,
it is this one:

$> md5sum /usr/share/sane/gt68xx/cis3R5B1.fw 
d5984f6a2c984af60c88e9f8c84ba195  /usr/share/sane/gt68xx/cis3R5B1.fw

I'll gladly provide further information if needed.


-- 

--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.0.32-3
Done: Jörg Frings-Fürst <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sane-backends, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jörg Frings-Fürst <[email protected]> (supplier of updated sane-backends package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 11 Jul 2021 17:44:43 +0200
Source: sane-backends
Architecture: source
Version: 1.0.32-3
Distribution: experimental
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Closes: 980311
Changes:
 sane-backends (1.0.32-3) experimental; urgency=medium
 .
   * Fix use-after-free and two mem leaks:
    - New debian/patches/0180-gt68xx_fix_use-after-free_two_memleaks.patch.
      Cherry-picked from upstream (Closes: #980311).
   * Add some Debian files / directories into .gitignore.
Checksums-Sha1:
 4c03d6189e95f9a10a79b5391f6ffc87e2c9f0dd 2470 sane-backends_1.0.32-3.dsc
 14fac07ce72c791272574768c9ec5632d4c580d9 80044 
sane-backends_1.0.32-3.debian.tar.xz
 536585792bc858d5a86c66c6a78bfd6554358e66 10739 
sane-backends_1.0.32-3_source.buildinfo
Checksums-Sha256:
 d2d324ba35e19188cffd210545e4a405a508e4e564282f759614bd34909c9943 2470 
sane-backends_1.0.32-3.dsc
 f64489b12324d4aec5017bd70ed6b6ddf82802e4556a42f25f6421f2f2506494 80044 
sane-backends_1.0.32-3.debian.tar.xz
 64d32da5582c7aa8f920dd37f72f43fd7ca972924a12bd9875ae8531cf3b92de 10739 
sane-backends_1.0.32-3_source.buildinfo
Files:
 5046179f20675255cae5f8e2431a183b 2470 graphics optional 
sane-backends_1.0.32-3.dsc
 655d72fb37a1d340d0cb84ad845950e3 80044 graphics optional 
sane-backends_1.0.32-3.debian.tar.xz
 79e0bd70f1a50602774e177182b543b7 10739 graphics optional 
sane-backends_1.0.32-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmDsWhcACgkQweDZLphv
fH7ZcA//bhxsbMRwWsTasWFkRuolmtVsAygeg4PfDwgrfb5g+3WhfrDD388fjMcl
Zz2mgXl/ODZ/0bHkEwHd1i+AQDnHXAGFWgMtYSuxfnY+kArUx80cLPynMVEc9/V1
CykJg0W8OXwhPN5Q4TBD77H4JSXPZqf2NiFbY0hREtE9ux7zXmX6Psuz9rIcR7G1
HhouhE/4pZsleV59esEir3HDLT9NQecwJCESFI//2IDYFr9tUf7UjUKR30w2aTQ+
Zpr/gyK2JovpMeMsrn6l+H/jv6kWzUZcT3PgB5enGMKX5Glzrw2WbxOd8rdR+cLH
mQfS9zfsb11omxO4X8XGOquh0aMyMHUC8Z3xdbrupSxt+qbetGxcumAdDK3+ODmO
M3YoqH2xIXs+6CCdXPflZAzMBdHj5kNhPqR/TgtCfuA2KIm7vTSjDy26uNUklUvA
FfwjkFZScpU4RP2snY6YUGzkxQX3GHB4JqVWOvfuR/AN/Mvx/x8sP7jHLekEysXV
5R3O8MV0Qc6C+WM2N+XFUSciQlnUXp5P01Eo4s5ynnH0Cdgfd0an4Z1JhB/Z+ydh
HpNKoCDo77xL2Bq1DeF77Dwt2ZkcVAJLA7Pc8VsLXHok+Xeiipv+UzViAc2uva/4
H0N+J/zh2lKCD9CFCT06dL3pcRZYcHfEnq0Wtqv6pyHMKO5DXzw=
=OrRi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to