hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shivzone <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-644. Account for '\0' when dispa...
Date Wed, 13 Apr 2016 22:41:50 GMT
Github user shivzone commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/604#discussion_r59638357
  
    --- Diff: src/backend/cdb/cdbquerycontextdispatching.c ---
    @@ -3031,7 +3031,7 @@ prepareDfsAddressForDispatch(QueryContextInfo* cxt)
     	if (!enable_secure_filesystem)
     		return;
     	const char *namespace = cxt->sharedPath;
    -	int size = strlen(namespace);
    +	int size = strlen(namespace) + 1;
    --- End diff --
    
    please add a comment mentioning about null terminator character


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message