Bill Medland (medbi01@accpac.com) Prevent attempts to dereference a null pointer Index: tmarshal.c =================================================================== RCS file: /home/wine/wine/dlls/oleaut32/tmarshal.c,v retrieving revision 1.14 diff -u -r1.14 tmarshal.c --- tmarshal.c 7 Jan 2003 20:36:25 -0000 1.14 +++ tmarshal.c 10 Jan 2003 00:05:56 -0000 @@ -1126,6 +1126,10 @@ BSTR names[10]; int nrofnames; + if (!tpinfo->chanbuf) { + ERR("tpinfo has no Rpc Channel Buffer\n"); + return 0; + } hres = _get_funcdesc(tpinfo->tinfo,method,&fdesc,&iname,&fname); if (hres) { ERR("Did not find typeinfo/funcdesc entry for method %d!\n",method); -- Bill Medland ACCPAC International, Inc. medbi01@accpac.com Corporate: www.accpac.com Hosted Services: www.accpaconline.com