sane.ds: check return value from sane_get_option_descriptor()

Lei Zhang thestig at
Fri Nov 9 04:24:47 CST 2007


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.

More information about the wine-patches mailing list