[PATCH] ServerSocket.bind
Guilhem Lavaux
guilhem@kaffe.org
Wed Dec 24 15:40:00 GMT 2003
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 <guilhem@kaffe.org>
* 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.
More information about the Java-patches
mailing list