classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ServerSocket.bind


From: Guilhem Lavaux
Subject: [PATCH] ServerSocket.bind
Date: Wed, 24 Dec 2003 16:40:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Hi,

It seems that nobody checks for null internet address in ServerSocket.bind.
Here is a quick fix which should prevent calling a native method with a null address argument.

Regards,
Guilhem.

ChangeLog:

2003-12-24  Guilhem Lavaux <address@hidden>

   * java/net/ServerSocket.java (bind): Check whether the address is null.

P.S.: I hope it can be applied to gcj (I've checked that the same code is present there), the patch has been built upon kaffe's CVS.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]