drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5668) C++ connector crash when query error message is too long
Date Wed, 12 Jul 2017 15:50:00 GMT

    [ https://issues.apache.org/jira/browse/DRILL-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084200#comment-16084200
] 

ASF GitHub Bot commented on DRILL-5668:
---------------------------------------

Github user laurentgo commented on the issue:

    https://github.com/apache/drill/pull/873
  
    @parthchandra @sudheeshkatkam look good to you?


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

Mime
View raw message