[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image meta_writer.c,1.10,1.11
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image meta_writer.c,1.10,1.11 |
Date: |
Fri, 28 Feb 2003 06:35:10 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv30021/image
Modified Files:
meta_writer.c
Log Message:
Format_ExportedType: check the scope for null before accessing it,
to prevent a segv (Bug #2678).
Index: meta_writer.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/meta_writer.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** meta_writer.c 28 Feb 2003 04:57:47 -0000 1.10
--- meta_writer.c 28 Feb 2003 11:35:03 -0000 1.11
***************
*** 656,660 ****
values[IL_OFFSET_EXPTYPE_NAMESPACE] =
GetPersistString(image,
type->classItem.className->namespace);
! values[IL_OFFSET_EXPTYPE_FILE] =
type->classItem.className->scope->token;
}
--- 656,668 ----
values[IL_OFFSET_EXPTYPE_NAMESPACE] =
GetPersistString(image,
type->classItem.className->namespace);
! if(type->classItem.className->scope)
! {
! values[IL_OFFSET_EXPTYPE_FILE] =
! type->classItem.className->scope->token;
! }
! else
! {
! values[IL_OFFSET_EXPTYPE_FILE] = 0;
! }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image meta_writer.c,1.10,1.11,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2227,1.2228
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit MethodBuilder.cs,1.1,1.2 ConstructorBuilder.cs,1.1,1.2 FieldBuilder.cs,1.1,1.2 CustomAttributeBuilder.cs,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2227,1.2228
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit MethodBuilder.cs,1.1,1.2 ConstructorBuilder.cs,1.1,1.2 FieldBuilder.cs,1.1,1.2 CustomAttributeBuilder.cs,1.1,1.2
- Index(es):