You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "youlong chen (Jira)" <ji...@apache.org> on 2025/12/23 11:22:00 UTC

[jira] [Created] (ZOOKEEPER-5001) Critical Uninitialized Variable Usage in zoo_amulti

youlong chen created ZOOKEEPER-5001:
---------------------------------------

             Summary: Critical Uninitialized Variable Usage in zoo_amulti
                 Key: ZOOKEEPER-5001
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5001
             Project: ZooKeeper
          Issue Type: Bug
            Reporter: youlong chen


In src/zookeeper.c, the function zoo_amulti declares request structures (e.g., struct CreateRequest req) without initialization. If an error occurs, the cleanup code tries to free garbage pointers (req.path), causing a crash.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)