[
https://issues.apache.org/jira/browse/DRILL-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084409#comment-16084409
]
ASF GitHub Bot commented on DRILL-5668:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/drill/pull/873
> 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)