natPlainDatagramSocketImpl.cc (receive): Check bounds of argument to FD_SET.
authorJeff Sturm <jsturm@one-point.com>
Tue, 18 Jun 2002 16:25:00 +0000 (16:25 +0000)
committerJeff Sturm <jsturm@gcc.gnu.org>
Tue, 18 Jun 2002 16:25:00 +0000 (16:25 +0000)
commit347258aef04597a20eda7f59ee2759e952e87f4e
treeee4f04c77d2441ffc0343c15cf24de335f47319d
parent18ba380b3a22e6e76d6515c16931611a0bcbf7e6
natPlainDatagramSocketImpl.cc (receive): Check bounds of argument to FD_SET.

* java/net/natPlainDatagramSocketImpl.cc (receive):
Check bounds of argument to FD_SET.
(setOption): Throw exception if socket is closed.

* java/net/natPlainSocketImpl.cc (accept, read):
Check bounds of argument to FD_SET.
(setOption): Throw exception if socket is closed.

From-SVN: r54750
libjava/ChangeLog
libjava/java/net/natPlainDatagramSocketImpl.cc
libjava/java/net/natPlainSocketImpl.cc