[Fb-contrib-commit] SF.net SVN: fb-contrib: [941] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-10-18 05:38:43
|
Revision: 941 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=941&view=rev Author: dbrosius Date: 2007-10-17 22:38:45 -0700 (Wed, 17 Oct 2007) Log Message: ----------- make sure lastPCs[0] is initialized 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 2007-10-18 05:37:16 UTC (rev 940) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java 2007-10-18 05:38:45 UTC (rev 941) @@ -113,7 +113,7 @@ if (seen == IRETURN) { byte[] bytes = getCode().getCode(); - if ((lastPCs[3] != -1) + if ((lastPCs[0] != -1) && ((0x00FF & bytes[lastPCs[3]]) == ICONST_0) && ((0x00FF & bytes[lastPCs[2]]) == GOTO) && ((0x00FF & bytes[lastPCs[1]]) == ICONST_1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |