https://bugzilla.redhat.com/show_bug.cgi?id=1867692



--- Comment #3 from Petr Pisar <[email protected]> ---
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.
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to