[Fb-contrib-commit] SF.net SVN: fb-contrib:[1074] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-10-22 19:50:54
|
Revision: 1074
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1074&view=rev
Author: dbrosius
Date: 2008-10-22 19:50:46 +0000 (Wed, 22 Oct 2008)
Log Message:
-----------
guard against bad stack
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java 2008-10-05 03:19:29 UTC (rev 1073)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java 2008-10-22 19:50:46 UTC (rev 1074)
@@ -526,8 +526,7 @@
} finally {
stack.sawOpcode(this, seen);
- if (userValue != null)
- {
+ if ((userValue != null) && stack.getStackDepth() > 0) {
OpcodeStack.Item item = stack.getStackItem(0);
item.setUserValue(userValue);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|