Bug#681085: libnet-cups-perl: Segfaults in Net::CUPS::PPD method getNextOption when enumerating options

Alexis Bienvenüe pado at passoire.fr
Sun Nov 9 18:17:58 UTC 2014


The problem comes from a strlen applied to option->choices[loop].code,
that can be NULL.
Moreover, $ppd->getNextOption() returns {} instead of undef when there
is no more options.
This should be fixed with attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppd-options.patch
Type: text/x-patch
Size: 1916 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141109/a90ae0f7/attachment.bin>


More information about the pkg-perl-maintainers mailing list