You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2019/06/26 17:32:00 UTC

[jira] [Created] (IMPALA-8713) MathFunctions::Unhex() can overflow stack

Tim Armstrong created IMPALA-8713:
-------------------------------------

             Summary: 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


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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org