hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9301) Potential null dereference in MoveTask#createTargetPath()
Date Thu, 08 Jan 2015 14:34:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-9301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xuefu Zhang updated HIVE-9301:
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Ted.

> Potential null dereference in MoveTask#createTargetPath()
> ---------------------------------------------------------
>
>                 Key: HIVE-9301
>                 URL: https://issues.apache.org/jira/browse/HIVE-9301
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9301.patch
>
>
> {code}
>     if (mkDirPath != null & !fs.exists(mkDirPath)) {
> {code}
> '&&' should be used instead of single ampersand.
> If mkDirPath is null, fs.exists() would still be called - resulting in NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message