mshtml: avoid dereferencing a potental NULL (Coverity 633)

Jacek Caban jacek at codeweavers.com
Fri Oct 10 15:53:09 CDT 2008


Austin English wrote:

>          ret++;
> -        if(bound_pos && dompos_cmp(&tmp, bound_pos)) {
> +        if(bounded && bound_pos && dompos_cmp(&tmp, bound_pos)) {
>              *bounded = TRUE;

It's a false error. bounded is never NULL if bound_pos is not NULL.


Jacek





More information about the wine-devel mailing list