#fixed code
                                public void run() {
	try {
	    final Socket socket = serverSocket.accept();
	    Thread th = new Thread() {
		public void run() {
		    try {
			process.process(msgpack, socket);
		    } catch (IOException e) { // ignore
		    }
		}
	    };
	    th.start();
	} catch (IOException e) {
	    e.printStackTrace();
	}
    }
#vulnerable code 
                                public void run() throws IOException {
	Socket socket = serverSock.accept();
	BufferedInputStream in = new BufferedInputStream(socket.getInputStream());
	// TODO
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK