CVSROOT: /sources/dotgnu-pnet
Module name: pnet
Changes by: Klaus Treichel <ktreichel> 06/07/17 20:18:53
Modified files:
. : ChangeLog
image : class.c
Log message:
2006-07-17 Klaus Treichel <[EMAIL PROTECTED]>
* image/class.c: Fix a segfault in InheritsFromValueType if the
class name
is ValueType and no namespaceinformation is present (is a
nested type).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3340&r2=1.3341
http://cvs.savannah.gnu.org/viewcvs/pnet/image/class.c?cvsroot=dotgnu-pnet&r1=1.33&r2=1.34
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3340
retrieving revision 1.3341
diff -u -b -r1.3340 -r1.3341
--- ChangeLog 15 Jul 2006 17:04:04 -0000 1.3340
+++ ChangeLog 17 Jul 2006 20:18:53 -0000 1.3341
@@ -1,3 +1,8 @@
+2006-07-17 Klaus Treichel <[EMAIL PROTECTED]>
+
+ * image/class.c: Fix a segfault in InheritsFromValueType if the class
name
+ is ValueType and no namespaceinformation is present (is a nested type).
+
2006-07-15 Klaus Treichel <[EMAIL PROTECTED]>
* engine/lib_object.c: Add a check if _this is null in
_IL_Object_GetType
Index: image/class.c
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/image/class.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- image/class.c 3 Jun 2004 11:36:42 -0000 1.33
+++ image/class.c 17 Jul 2006 20:18:53 -0000 1.34
@@ -1389,7 +1389,7 @@
if(!strcmp(ILClass_Name(info), "ValueType"))
{
namespace = ILClass_Namespace(info);
- if(!strcmp(namespace, "System") &&
!ILClass_NestedParent(info))
+ if(namespace && !strcmp(namespace, "System") &&
!ILClass_NestedParent(info))
{
return 1;
}
_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits