prevent dereferencing null

Bill Medland billmedland at
Thu Jan 9 19:45:00 CST 2003

On January 9, 2003 03:12 pm, Dimitrie O. Paun wrote:
> 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...
You are, of course, quite correct.
I don't know what the expected behaviour is; all I know is that dereferncing 
the null pointer isn't.
If someone actually understands all that proxy stuff then maybe they can do 
something about it.
If not then I guess it is destined to languish unfixed.
Bill Medland
ACCPAC International, Inc.
medbi01 at
Hosted Services:

More information about the wine-devel mailing list