8181597: Process Proxy presentation
Reviewed-by: dfuchs, ahgross, rhalade, skoivu
This commit is contained in:
parent
89b8d98d19
commit
74b07b599e
@ -1770,6 +1770,10 @@ public class ObjectInputStream
|
|||||||
passHandle = NULL_HANDLE;
|
passHandle = NULL_HANDLE;
|
||||||
|
|
||||||
int numIfaces = bin.readInt();
|
int numIfaces = bin.readInt();
|
||||||
|
if (numIfaces > 65535) {
|
||||||
|
throw new InvalidObjectException("interface limit exceeded: "
|
||||||
|
+ numIfaces);
|
||||||
|
}
|
||||||
String[] ifaces = new String[numIfaces];
|
String[] ifaces = new String[numIfaces];
|
||||||
for (int i = 0; i < numIfaces; i++) {
|
for (int i = 0; i < numIfaces; i++) {
|
||||||
ifaces[i] = bin.readUTF();
|
ifaces[i] = bin.readUTF();
|
||||||
|
Loading…
Reference in New Issue
Block a user