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 C5391200C0D for ; Tue, 31 Jan 2017 10:08:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C3D0A160B52; Tue, 31 Jan 2017 09:08:30 +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 1915B160B46 for ; Tue, 31 Jan 2017 10:08:29 +0100 (CET) Received: (qmail 58512 invoked by uid 500); 31 Jan 2017 09:08:29 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 58501 invoked by uid 99); 31 Jan 2017 09:08:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2017 09:08:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C71131A0431 for ; Tue, 31 Jan 2017 09:08:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bhcZjbWsOqSL for ; Tue, 31 Jan 2017 09:08:28 +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 B5C425F30D for ; Tue, 31 Jan 2017 09:08:27 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 2EB6DE01D8 for ; Tue, 31 Jan 2017 09:08:27 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id D686B60DA9; Tue, 31 Jan 2017 09:08:25 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 60670] Fails to create document nodes in MSI files larger than 2 GB Date: Tue, 31 Jan 2017 09:08:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: POIFS X-Bugzilla-Version: 3.15-FINAL X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marcus.lundblad@primekey.se X-Bugzilla-Status: NEEDINFO X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Tue, 31 Jan 2017 09:08:31 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D60670 --- Comment #2 from Marcus Lundblad --- Right, missed that, sorry about that. This is in a module in-development. The code looks something like this: final NPOIFSFileSystem fsOut =3D new NPOIFSFileSystem(responseData.getAsFile(), false)) { // Add the signature file fsOut.createDocument(new ByteArrayInputStream(signedbytes), "\05DigitalSignature"); where the getAsFile() call would return a File instance pointing to the resulting file (which is just a copy of the original file). and the signedbytes is a byte array with the signature data (I don't think = the content should really matter in this case. I could try to write a simple stand-alone program to expose the issue as we= ll. --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org