prevent dereferencing null

Dimitrie O. Paun dpaun at rogers.com
Thu Jan 9 17:12:38 CST 2003


On January 9, 2003 07:08 pm, Bill Medland wrote:
> +    if (!tpinfo->chanbuf) {
> +        ERR("tpinfo has no Rpc Channel Buffer\n");
> +        return 0;
> +    }

Is this expected behaviour? If so, there's no need for the ERR msg.
If not, there's no need for the test, we need to fix the root cause...

-- 
Dimi.




More information about the wine-devel mailing list