[ 
https://issues.apache.org/jira/browse/DRILL-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Wu updated DRILL-5668:
--------------------------
    Comment: was deleted

(was: vsnprintf works)

> C++ connector crash when query error message is too long
> --------------------------------------------------------
>
>                 Key: DRILL-5668
>                 URL: https://issues.apache.org/jira/browse/DRILL-5668
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>    Affects Versions: 1.10.0
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>             Fix For: 1.11.0
>
>
> The C++ connector crashes if the query sent to the server is invalid and the 
> error message returned by the server is too long.
> The cause of the crash is a call to a {{vsprintf}} function which takes a 
> fixed sized char buffer, but doesn't take a size argument.
> https://github.com/apache/drill/blob/master/contrib/native/client/src/clientlib/errmsgs.cpp#L80



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to