[ 
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)

Reply via email to