[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image pecoff_loader.c,1.15,1.16
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image pecoff_loader.c,1.15,1.16 |
Date: |
Sun, 17 Aug 2003 18:40:13 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv20154/image
Modified Files:
pecoff_loader.c
Log Message:
MemoryRead: reversed test, causing segv (found by Chris Smith - bug #4807).
Index: pecoff_loader.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/pecoff_loader.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** pecoff_loader.c 7 Jul 2003 12:44:50 -0000 1.15
--- pecoff_loader.c 17 Aug 2003 22:40:11 -0000 1.16
***************
*** 60,64 ****
static int MemoryRead(ILInputContext *ctx, void *buf, unsigned len)
{
! if(len < ctx->bufLen)
{
len = (unsigned)(ctx->bufLen);
--- 60,64 ----
static int MemoryRead(ILInputContext *ctx, void *buf, unsigned len)
{
! if(ctx->bufLen < len)
{
len = (unsigned)(ctx->bufLen);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image pecoff_loader.c,1.15,1.16,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2657,1.2658
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/codegen cg_nodes.tc, 1.81, 1.82 cg_stmt.tc, 1.37, 1.38
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2657,1.2658
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/codegen cg_nodes.tc, 1.81, 1.82 cg_stmt.tc, 1.37, 1.38
- Index(es):