Lexmark MC3200 / MC3224adwe Network scanner crash due to NULL constraints
I have an issue with Lexmark MFP scanner MC3224adwe
There seems to be an empty option crashing scanimage -A
Program received signal SIGSEGV, Segmentation fault.
.. in print_option (device=0x5555555b3620, opt_num=11, opt=0x7ffff796b2e8 <m_opt+616>) at scanimage.c:517
for (i = 0; opt->constraint.string_list[i]; ++i)
> p *opt
.... {name = 0x7ffff764ad29 "content-source", constraint = {string_list = 0x0, ...
The problem continues in the same way concerning the range options.
This issue also extends to other programs which copied the scanimage code, such as GNOME's simple-scan. I already opened a patch with a workaround to them here : https://gitlab.gnome.org/GNOME/simple-scan/-/merge_requests/155
I suspect this is ultimately a buggy proprietary driver (I downloaded the lexmark-network-scan driver from https://www.lexmark.com/en_us/printer/14391/Lexmark-MC3224adwe#drivers).
Any thoughts?