sane.ds: check return value from sane_get_option_descriptor()

Lei Zhang thestig at google.com
Fri Nov 9 04:25:56 CST 2007


Hi,

(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...
Name: 0003-sane.ds-check-return-value-from-sane_get_option_des.patch
Type: application/octet-stream
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 mailing list