impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuanhao Luo (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-2878: Fix Base64 Decode error
Date Mon, 30 May 2016 11:21:20 GMT
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 <luoyuanhao@software.ict.ac.cn>

Mime
View raw message