Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB8EF11E5B for ; Thu, 10 Apr 2014 20:30:32 +0000 (UTC) Received: (qmail 74558 invoked by uid 500); 10 Apr 2014 20:30:29 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 74073 invoked by uid 500); 10 Apr 2014 20:30:22 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 74047 invoked by uid 99); 10 Apr 2014 20:30:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 20:30:18 +0000 Date: Thu, 10 Apr 2014 20:30:18 +0000 (UTC) From: "Russ Weeks (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-2658) Thrift Proxy crashes with OOM on bad input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Russ Weeks created ACCUMULO-2658: ------------------------------------ Summary: Thrift Proxy crashes with OOM on bad input Key: ACCUMULO-2658 URL: https://issues.apache.org/jira/browse/ACCUMULO-2658 Project: Accumulo Issue Type: Bug Components: proxy Affects Versions: 1.5.1 Reporter: Russ Weeks The proxy server doesn't benefit from the fix for ACCUMULO-2360 because it doesn't use the TServerUtils class to set up the thrift server. The smallest fix is really easy: just add the line: {code} args.maxReadBufferBytes = maxFrameSize; {code} to o.a.a.proxy.Proxy.createProxyServer. I guess a more comprehensive fix would be to convert Proxy to use TServerUtils, but that's a little beyond me at this point. -- This message was sent by Atlassian JIRA (v6.2#6252)