You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/24 20:53:33 UTC

[jira] [Created] (PHOENIX-1380) Potential null dereference in PerformanceLog#getFileOutputStream()

Ted Yu created PHOENIX-1380:
-------------------------------

             Summary: 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
            Priority: Minor


{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)