Code Review 6849693: index of fdTable should be less than num. of fdTable in jdk7
Chris Hegarty
chris.hegarty at oracle.com
Thu Feb 24 04:54:57 PST 2011
Alan, Michael,
Trivially change getFdEntry() to ensure that the given fd is not >=
fdCount since fdTable ( the array indexed by fd ) has only fdCount elements.
I'm not sure how anyone seen this bug in real life, but making this
simple change won't hurt and is strictly correct.
http://cr.openjdk.java.net/~chegar/6849693/webrev.00/webrev/
-Chris.
More information about the net-dev
mailing list