dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine call.c,1.30,1.31


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine call.c,1.30,1.31
Date: Fri, 06 Jun 2003 01:53:33 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv32629/engine

Modified Files:
        call.c 
Log Message:


_ILLookupInterfaceMethod: fix a segv when falling off the top of
the interface search heirarchy.


Index: call.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/call.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** call.c      2 Jun 2003 06:55:16 -0000       1.30
--- call.c      6 Jun 2003 05:53:30 -0000       1.31
***************
*** 729,732 ****
--- 729,733 ----
        ILImplPrivate *implements;
        ILClassPrivate *searchClass = objectClassPrivate;
+       ILClass *parent;
  
        /* Locate the interface table within the class hierarchy for the object 
*/
***************
*** 755,760 ****
                        implements = implements->next;
                }
!               searchClass = (ILClassPrivate *)
!                       (ILClassGetParent(searchClass->classInfo)->userData);
        }
  
--- 756,765 ----
                        implements = implements->next;
                }
!               parent = ILClassGetParent(searchClass->classInfo);
!               if(!parent)
!               {
!                       break;
!               }
!               searchClass = (ILClassPrivate *)(parent->userData);
        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]