From d2349902081c32010e10ce67bdc33d8cb9423fa6 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Fri, 9 Sep 2016 10:46:37 -0500 Subject: [PATCH] HADOOP-10940. RPC client does no bounds checking of responses. Contributed by Daryn Sharp. (cherry picked from commit d4d076876a8d0002bd3a73491d8459d11cb4896c) --- .../dev-support/findbugsExcludeFile.xml | 10 +- .../hadoop/fs/CommonConfigurationKeys.java | 12 +- .../java/org/apache/hadoop/ipc/Client.java | 180 +++++++++++++----- .../apache/hadoop/security/SaslRpcClient.java | 28 ++- .../src/main/resources/core-default.xml | 17 +- .../java/org/apache/hadoop/ipc/TestIPC.java | 86 ++++++++- 6 files changed, 249 insertions(+), 84 deletions(-) diff --git a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml index 4bf17629f9d..1570db1a41e 100644 --- a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml +++ b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml @@ -47,7 +47,7 @@ --> - + - - - - - +