You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/11/30 22:49:01 UTC
[jira] [Closed] (SYSTEMML-1739) Ineffective null check in
MLContextConversionUtil#binaryBlocksToFrameObject()
[ https://issues.apache.org/jira/browse/SYSTEMML-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Boehm closed SYSTEMML-1739.
------------------------------------
Resolution: Fixed
Assignee: Matthias Boehm
Fix Version/s: SystemML 1.0
> Ineffective null check in MLContextConversionUtil#binaryBlocksToFrameObject()
> -----------------------------------------------------------------------------
>
> Key: SYSTEMML-1739
> URL: https://issues.apache.org/jira/browse/SYSTEMML-1739
> Project: SystemML
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Matthias Boehm
> Priority: Minor
> Fix For: SystemML 1.0
>
>
> {code}
> MatrixCharacteristics mc = (frameMetadata != null) ? frameMetadata.asMatrixCharacteristics()
> : new MatrixCharacteristics();
> FrameObject frameObject = new FrameObject(OptimizerUtils.getUniqueTempFileName(),
> new MatrixFormatMetaData(mc, OutputInfo.BinaryBlockOutputInfo, InputInfo.BinaryBlockInputInfo),
> frameMetadata.getFrameSchema().getSchema().toArray(new ValueType[0]));
> {code}
> null check is performed on frameMetadata.
> However, frameMetadata is dereferenced later without check for getFrameSchema().
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)