From issues-return-1126-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Fri Sep 6 15:45:22 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4D09F18067A for ; Fri, 6 Sep 2019 17:45:21 +0200 (CEST) Received: (qmail 34308 invoked by uid 500); 7 Sep 2019 03:23:24 -0000 Mailing-List: contact issues-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list issues@zookeeper.apache.org Received: (qmail 33191 invoked by uid 99); 7 Sep 2019 03:23:20 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Sep 2019 03:23:20 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4408CE313A for ; Fri, 6 Sep 2019 15:45:11 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id CB3D77823D5 for ; Fri, 6 Sep 2019 15:45:06 +0000 (UTC) Date: Fri, 6 Sep 2019 15:45:06 +0000 (UTC) From: "Enrico Olivelli (Jira)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-847) Missing acl check in zookeeper create MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Olivelli updated ZOOKEEPER-847: -------------------------------------- Fix Version/s: (was: 3.5.6) > Missing acl check in zookeeper create > ------------------------------------- > > Key: ZOOKEEPER-847 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-847 > Project: ZooKeeper > Issue Type: Bug > Components: java client > Affects Versions: 3.3.1, 3.3.2, 3.3.3 > Reporter: Patrick Datko > Priority: Major > Fix For: 3.6.0, 3.5.7 > > Attachments: ZOOKEEPER-847.patch > > > I watched the source of the zookeeper class and I missed an acl check in the asynchronous version of the create operation. Is there any reason, that in the asynch version is no > check whether the acl is valid, or did someone forget to implement it. It's interesting because we worked on a refactoring of the zookeeper client and don't want to implement a bug. > The following code is missing: > if (acl != null && acl.size() == 0) { > throw new KeeperException.InvalidACLException(); > } -- This message was sent by Atlassian Jira (v8.3.2#803003)