You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2019/06/28 05:42:00 UTC
[jira] [Resolved] (IMPALA-8713) MathFunctions::Unhex() can overflow
stack
[ https://issues.apache.org/jira/browse/IMPALA-8713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-8713.
-----------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.3.0
> MathFunctions::Unhex() can overflow stack
> -----------------------------------------
>
> Key: IMPALA-8713
> URL: https://issues.apache.org/jira/browse/IMPALA-8713
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 3.2.0
> Reporter: Tim Armstrong
> Assignee: Tim Armstrong
> Priority: Blocker
> Labels: crash
> Fix For: Impala 3.3.0
>
>
> It allocates a stack buffer large enough to hold the output string. It shouldn't be hard to see what could go wrong. E.g.
> {code}
> select unhex(repeat('z', 1024 * 1024 * 1024))
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)