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

Reply via email to