From d4d076876a8d0002bd3a73491d8459d11cb4896c Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Fri, 9 Sep 2016 10:39:35 -0500 Subject: [PATCH] HADOOP-10940. RPC client does no bounds checking of responses. Contributed by Daryn Sharp. --- .../dev-support/findbugsExcludeFile.xml | 10 +- .../hadoop/fs/CommonConfigurationKeys.java | 12 +- .../java/org/apache/hadoop/ipc/Client.java | 180 +++++++++++++----- .../apache/hadoop/security/SaslRpcClient.java | 25 +-- .../src/main/resources/core-default.xml | 17 +- .../java/org/apache/hadoop/ipc/TestIPC.java | 86 ++++++++- 6 files changed, 247 insertions(+), 83 deletions(-) diff --git a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml index b650eaeb39..ec7c3967af 100644 --- a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml +++ b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml @@ -44,7 +44,7 @@ --> - + - - - - - +