You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Damien Diederen (Jira)" <ji...@apache.org> on 2021/08/04 07:48:00 UTC

[jira] [Created] (ZOOKEEPER-4342) Robustify C client against errors during SASL negotiation

Damien Diederen created ZOOKEEPER-4342:
------------------------------------------

             Summary: Robustify C client against errors during SASL negotiation
                 Key: ZOOKEEPER-4342
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4342
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.7.0, 3.8.0
            Reporter: Damien Diederen
            Assignee: Damien Diederen


1. The current client is ignoring the error field of the response header, and only considering SASL-level errors when processing a SASL response.

2. Such errors cause a double-free of the input buffer, which crashes the application.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)