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

ASF GitHub Bot commented on HAWQ-893:
-------------------------------------

GitHub user kavinderd opened a pull request:

    https://github.com/apache/incubator-hawq/pull/775

    HAWQ-893. Only copy and index status_str_length

    Previously status_str was being indexed with a value that overflowed its
    expected length and would zero-out the string 'test'

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kavinderd/incubator-hawq HAWQ-893

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/775.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #775
    
----
commit ad965c3cfe2a559340ad82675f289eebecb91a7a
Author: Kavinder Dhaliwal <kavind...@gmail.com>
Date:   2016-07-06T02:00:26Z

    HAWQ-893. Only copy and index status_str_length
    
    Previously status_str was being indexed with a value that overflowed its
    expected length and would zero-out the string 'test'

----


> Incorrect array indexing in load_expected_statuses() in pg_regress.c
> --------------------------------------------------------------------
>
>                 Key: HAWQ-893
>                 URL: https://issues.apache.org/jira/browse/HAWQ-893
>             Project: Apache HAWQ
>          Issue Type: Bug
>            Reporter: Kavinder Dhaliwal
>            Assignee: Lei Chang
>
> Sometimes when running installcheck good there can be a case where when 
> parsing a line from the src/test/regress/expected_statuses file the string 
> that contains the name of the test will have its zero byte set to the null 
> character.



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

Reply via email to