Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5F602200CA5 for ; Fri, 26 May 2017 16:11:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5E180160BAF; Fri, 26 May 2017 14:11:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4E9A160BB8 for ; Fri, 26 May 2017 16:11:08 +0200 (CEST) Received: (qmail 1845 invoked by uid 500); 26 May 2017 14:11:07 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 1828 invoked by uid 99); 26 May 2017 14:11:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2017 14:11:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 58667C0B3C for ; Fri, 26 May 2017 14:11:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4fqoQTubaB0e for ; Fri, 26 May 2017 14:11:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id F1FC85F306 for ; Fri, 26 May 2017 14:11:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 78591E0BCA for ; Fri, 26 May 2017 14:11:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2468621B59 for ; Fri, 26 May 2017 14:11:04 +0000 (UTC) Date: Fri, 26 May 2017 14:11:04 +0000 (UTC) From: "Yaroslav Trymbach (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COMPRESS-398) Uncorrect string terminal symbol in entry when creating Tar archive using TarArchiveOutputStream MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 26 May 2017 14:11:09 -0000 Yaroslav Trymbach created COMPRESS-398: ------------------------------------------ Summary: Uncorrect string terminal symbol in entry when creating Tar archive using TarArchiveOutputStream Key: COMPRESS-398 URL: https://issues.apache.org/jira/browse/COMPRESS-398 Project: Commons Compress Issue Type: Bug Components: Archivers Affects Versions: 1.14 Reporter: Yaroslav Trymbach Priority: Minor I create Tar archive using TarArchiveOutputStream. And I've got one contradiction in output achive file with Tar-file format specification. https://www.gnu.org/software/tar/manual/html_node/Standard.html#SEC186 Specification has next sentention for entry header fields: "The name, linkname, magic, uname, and gname are null-terminated character strings. All other fields are zero-filled octal numbers in ASCII. Each numeric field of width w contains w minus 1 digits, and a null." But in file generated TarArchiveOutputStream octal numbers fields (mode, size, checksum etc) has terminated character not NULL (0x00) but SPACE (0x20), so some programs have problems while work with this files. -- This message was sent by Atlassian JIRA (v6.3.15#6346)