[PATCH] pccardctl: fix segmentation fault on unknown long option

Jirka Klimes jklimes at redhat.com
Tue Aug 31 10:00:05 EDT 2010


calling pccardctl with an unknown long option causes SIGSEGV;
e.g. pccardctl --ver

The patch adds missing last zeroed element to options array.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pccardctl_SIGSEGV_fix.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20100831/120f4527/attachment.bin>

More information about the linux-pcmcia mailing list