The as6e backend triggered "stack smashing detected" crash when connecting Epson Perfection V39 with proprietary driver

Bug #1810659 reported by 林博仁(Buo-ren, Lin) on 2019-01-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Undecided
Unassigned

Bug Description

## Bug Reproduction Instructions ##
1. Install iscan-gt-s650-bundle-1.0.1.x64 driver from Epson
2. Connect Epson Perfection V39
3. Launch iscan or any SANE application

## Current behavior ##
After a few seconds of the function call `sane_get_devices` the application crashed with "*** stack smashing detected ***: <unknown> terminated" message

## Workaround ##
Comment out the `as6e` line in /etc/sane.d/dll.conf

## Stack Trace ##
```
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff561f801 in __GI_abort () at abort.c:79
#2 0x00007ffff5668897 in __libc_message (action=action@entry=do_abort,
    fmt=fmt@entry=0x7ffff5795988 "*** %s ***: %s terminated\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff5713cd1 in __GI___fortify_fail_abort (
    need_backtrace=need_backtrace@entry=false,
    msg=msg@entry=0x7ffff5795966 "stack smashing detected")
    at fortify_fail.c:33
#4 0x00007ffff5713c92 in __stack_chk_fail () at stack_chk_fail.c:29
#5 0x00007fffe48271e7 in check_for_driver (
    devname=0x7fffe48291e9 "as6edriver") at as6e.c:833
#6 0x00007fffe46e6962 in ?? ()
#7 0x0000000000000000 in ?? ()
```

## Additional Information ##
OS: ezgo 14(based on Ubuntu 18.04)
Scanner driver: iscan-gt-s650-bundle-1.0.1.x64

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libsane1 1.0.27-1~experimental3ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Jan 6 21:56:12 2019
InstallationDate: Installed on 2019-01-03 (3 days ago)
InstallationMedia: ezgo 14 KDE (Based on Kubuntu 18.04 LTS "Bionic Beaver") - Release amd64 (20180718)
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers