https://bugzilla.redhat.com/show_bug.cgi?id=1867692
--- Comment #3 from Petr Pisar <ppisar(a)redhat.com> ---
The Perl t/options.t test calls:
const SANE_Device ** device_list;
sane_get_devices (&device_list, 0);
I checked sane_get_devices() in backend/dll.c that the only thing it does with
the first argument is assigning to the dereferenced pointer. Thus
perl-Sane-Image uses the interface correctly.
I can reproduce the crash with a scanimage tool of sane-backends:
# scanimage
Output format is not set, using pnm as a default.
Segmentation fault (core dumped)
I hope this reproducer is good enough for you.
--
You are receiving this mail because:
You are on the CC list for the bug.