[
https://issues.apache.org/jira/browse/IMPALA-14030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949769#comment-17949769
]
ASF subversion and git services commented on IMPALA-14030:
----------------------------------------------------------
Commit 4fea5260cf77bbbfa23457ff15907f5aef55266e in impala's branch
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=4fea5260c ]
IMPALA-14030: Fix buffer underflow when base64 decoding 0 length binaries
The issue didn't cause problems under normal circumstances but ASAN
tests caught it in JSON tests enabled in IMPALA-12927.
Changed text parsing logic to skip base64 decoding for empty binaries.
Also fixed Base64DecodeBufLen() with len=0 and added unit tests, though
this function is not used with len=0 outside BE tests.
Change-Id: I511cff8cec319d03d494a342f2cbb4a251cb893e
Reviewed-on: http://gerrit.cloudera.org:8080/22855
Reviewed-by: Riza Suminto <[email protected]>
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> test_binary_type is failing for impala asan arm
> -----------------------------------------------
>
> Key: IMPALA-14030
> URL: https://issues.apache.org/jira/browse/IMPALA-14030
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: gaurav singh
> Assignee: Csaba Ringhofer
> Priority: Critical
>
> h3. Error Message
> query_test/test_scanners.py:1974: in test_binary_type
> self.run_test_case('QueryTest/binary-type', vector)
> common/impala_test_suite.py:961: in run_test_case
> user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:875: in __exec_in_impala result =
> self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:1382: in __execute_query return
> impalad_client.execute(query, user=user) common/impala_connection.py:507: in
> execute fetch_exec_summary=fetch_exec_summary) beeswax/impala_beeswax.py:195:
> in execute handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:293: in __execute_query
> self.wait_for_finished(handle) beeswax/impala_beeswax.py:310: in
> wait_for_finished query_state = self.get_state(query_handle)
> beeswax/impala_beeswax.py:376: in get_state return self.__do_rpc(lambda:
> self.imp_service.get_state(query_handle)) beeswax/impala_beeswax.py:473: in
> __do_rpc raise ImpalaBeeswaxException(self.__build_error_message(e), e) E
> ImpalaBeeswaxException: unexpected exception
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]