[kaffe] CVS kaffe (guilhem): Fixed a severe memory overwrite in the verifier.
Kaffe CVS
cvs-commits at kaffe.org
Sun Apr 11 04:26:02 PDT 2004
PatchSet 4632
Date: 2004/04/11 11:23:24
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
Fixed a severe memory overwrite in the verifier.
* kaffe/kaffevm/verify.c
(verifyBasicBlock): Fixed a severe memory overwrite.
Members:
ChangeLog:1.2209->1.2210
kaffe/kaffevm/verify.c:1.73->1.74
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2209 kaffe/ChangeLog:1.2210
--- kaffe/ChangeLog:1.2209 Wed Apr 7 21:30:13 2004
+++ kaffe/ChangeLog Sun Apr 11 11:23:24 2004
@@ -1,3 +1,8 @@
+2004-04-11 Guilhem Lavaux <guilhem at kaffe.org>
+
+ * kaffe/kaffevm/verify.c
+ (verifyBasicBlock): Fixed a severe memory overwrite.
+
2004-04-07 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
* kaffe/kaffevm/itypes.c:
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.73 kaffe/kaffe/kaffevm/verify.c:1.74
--- kaffe/kaffe/kaffevm/verify.c:1.73 Mon Apr 5 17:43:38 2004
+++ kaffe/kaffe/kaffevm/verify.c Sun Apr 11 11:23:26 2004
@@ -3138,9 +3138,9 @@
return verifyErrorInVerifyBasicBlock(einfo, method, this, "cannot swap 2 bytes of a long or double");
}
- *type = *getOpstackTop(block);
- *getOpstackTop(block) = *getOpstackWTop(block);
- *getOpstackWTop(block) = *type;
+ tt = *getOpstackWTop(block);
+ *getOpstackWTop(block) = *getOpstackTop(block);
+ *getOpstackTop(block) = tt;
break;
More information about the kaffe
mailing list