sane.ds: check return value from sane_get_option_descriptor()

Lei Zhang thestig at
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...
Name: 0003-sane.ds-check-return-value-from-sane_get_option_des.patch
Type: application/octet-stream
Size: 1085 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list