You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ming LI (JIRA)" <ji...@apache.org> on 2016/08/12 02:49:20 UTC

[jira] [Resolved] (HAWQ-1000) Set dummy workfile pointer to NULL after calling ExecWorkFile_Close()

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

Ming LI resolved HAWQ-1000.
---------------------------
    Resolution: Fixed

> Set dummy workfile pointer to NULL after calling ExecWorkFile_Close()
> ---------------------------------------------------------------------
>
>                 Key: HAWQ-1000
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1000
>             Project: Apache HAWQ
>          Issue Type: Bug
>            Reporter: Ming LI
>            Assignee: Ming LI
>             Fix For: 2.0.1.0-incubating
>
>
> The parameter workfile for ExecWorkFile_Close() is freed in this function, but in the calling function outside, the pointer variable still exists, we need to set it to NULL pointer immediately, otherwise it will use some freed pointer afterward.



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