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)