sane.ds: check return value from sane_get_option_descriptor()
thestig at google.com
Fri Nov 9 04:25:56 CST 2007
(attached the patch this time)
We need to do more return value checks. If we don't check opt->cap,
and we call sane_control_option() later with the same id, we'll end up
with a smashed stack.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1085 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071109/5efcb0dc/attachment.obj
More information about the wine-patches