You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Yuanhao Luo (Code Review)" <ge...@cloudera.org> on 2016/05/30 11:21:20 UTC

[Impala-CR](cdh5-trunk) IMPALA-2878: Fix Base64 Decode error

Yuanhao Luo has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3244

Change subject: IMPALA-2878: Fix Base64 Decode error
......................................................................

IMPALA-2878: Fix Base64 Decode error

Original Base64Decode() method wouldn't return original string if there
ware trailing '\0'. For example, string "a\0" would be encoded into
"YQA=", whild calling original Base64Decode() method, the return value
is "a", which losts the trailing '\0' of original string "a\0".

Change-Id: If3c46023754139ee7eeceeb3b77a3be5d156d608
---
M be/src/util/url-coding-test.cc
M be/src/util/url-coding.cc
2 files changed, 8 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/44/3244/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3244
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If3c46023754139ee7eeceeb3b77a3be5d156d608
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Yuanhao Luo <lu...@software.ict.ac.cn>