Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@locus.apache.org Received: (qmail 45534 invoked from network); 21 Oct 2008 18:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 18:18:35 -0000 Received: (qmail 54475 invoked by uid 500); 21 Oct 2008 18:18:37 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 54455 invoked by uid 500); 21 Oct 2008 18:18:37 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 54439 invoked by uid 99); 21 Oct 2008 18:18:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 11:18:37 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 18:17:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6F55B234C22A for ; Tue, 21 Oct 2008 11:17:44 -0700 (PDT) Message-ID: <722300206.1224613064454.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 11:17:44 -0700 (PDT) From: "Mahadev konar (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Updated: (ZOOKEEPER-201) validate magic number when reading snapshot and transaction logs In-Reply-To: <1341134891.1224565004272.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ZOOKEEPER-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-201: ------------------------------------ Attachment: ZOOKEEPER-201.patch this patch checks for the magic headers. > validate magic number when reading snapshot and transaction logs > ---------------------------------------------------------------- > > Key: ZOOKEEPER-201 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-201 > Project: Zookeeper > Issue Type: Bug > Components: server > Affects Versions: 3.0.0 > Reporter: Patrick Hunt > Assignee: Mahadev konar > Priority: Blocker > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-201.patch > > > The snapshot and transaction log files are not validating the magic numbers when read. > Mahadev, can you update the code and tests for this? Possible for 3.0 or wait post 3.0? (feel free to fix now or reassign version) > Please add tests for this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.