Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C85541856A for ; Tue, 9 Jun 2015 16:36:00 +0000 (UTC) Received: (qmail 23334 invoked by uid 500); 9 Jun 2015 16:36:00 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 23313 invoked by uid 500); 9 Jun 2015 16:36:00 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 23303 invoked by uid 99); 9 Jun 2015 16:36:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 16:36:00 +0000 Date: Tue, 9 Jun 2015 16:36:00 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7598) Potential null pointer dereference in MergeTask#closeJob() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HIVE-7598: ------------------------- Description: Call to Utilities.mvFileToFinalPath() passes null as second last parameter, conf. null gets passed to createEmptyBuckets() which dereferences conf directly: {code} boolean isCompressed = conf.getCompressed(); TableDesc tableInfo = conf.getTableInfo(); {code} was: Call to Utilities.mvFileToFinalPath() passes null as second last parameter, conf. null gets passed to createEmptyBuckets() which dereferences conf directly: {code} boolean isCompressed = conf.getCompressed(); TableDesc tableInfo = conf.getTableInfo(); {code} > Potential null pointer dereference in MergeTask#closeJob() > ---------------------------------------------------------- > > Key: HIVE-7598 > URL: https://issues.apache.org/jira/browse/HIVE-7598 > Project: Hive > Issue Type: Bug > Reporter: Ted Yu > Assignee: SUYEON LEE > Priority: Minor > Attachments: HIVE-7598.patch > > > Call to Utilities.mvFileToFinalPath() passes null as second last parameter, conf. > null gets passed to createEmptyBuckets() which dereferences conf directly: > {code} > boolean isCompressed = conf.getCompressed(); > TableDesc tableInfo = conf.getTableInfo(); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)