[ 
https://issues.apache.org/jira/browse/PHOENIX-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220265#comment-14220265
 ] 

Hudson commented on PHOENIX-1380:
---------------------------------

SUCCESS: Integrated in Phoenix-master #493 (See 
[https://builds.apache.org/job/Phoenix-master/493/])
PHOENIX-1380: Potential null dereference in 
PerformanceLog#getFileOutputStream() (Alicia Ying Shu) (jeffreyz: rev 
2d5acb4e93edf8901952238c31fcf12892db8725)
* phoenix-core/src/test/java/org/apache/phoenix/logging/PerformanceLog.java


> Potential null dereference in PerformanceLog#getFileOutputStream()
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-1380
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1380
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Alicia Ying Shu
>            Priority: Minor
>             Fix For: 4.2
>
>         Attachments: PHOENIX-1380.patch, PHOENIX-1380_delete.patch
>
>
> {code}
>       private static FileOutputStream getFileOutputStream() throws 
> FileNotFoundException {
>               return getFileOutputStream(null);
>       }
> {code}
> getFileOutputStream(String) would dereference fileName without checking for 
> null.



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

Reply via email to