From user-return-23398-archive-asf-public=cust-asf.ponee.io@poi.apache.org Tue Apr 16 21:36:54 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 EEB67180630 for ; Tue, 16 Apr 2019 23:36:53 +0200 (CEST) Received: (qmail 27098 invoked by uid 500); 16 Apr 2019 21:36:53 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 27084 invoked by uid 99); 16 Apr 2019 21:36:52 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.159) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2019 21:36:52 +0000 Received: from mail-yw1-f53.google.com (mail-yw1-f53.google.com [209.85.161.53]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 5F4DF9A31 for ; Tue, 16 Apr 2019 21:36:52 +0000 (UTC) Received: by mail-yw1-f53.google.com with SMTP id l15so7872516ywe.8 for ; Tue, 16 Apr 2019 14:36:52 -0700 (PDT) X-Gm-Message-State: APjAAAXvzpm/VT/yBX4Kgap4TpY+jscZYqIbZKPHDIfNXl/fqrAxSBa5 vvnFdaWVVH0wSJl0VexGZKLxrkMVhvhPdxxqBa4= X-Google-Smtp-Source: APXvYqzozgCNOP5iImW/wfyAA/9U75qzcqJrzsU66ip9AU1nxcLRV16Sq4b4KWgfuF9YyNuPaPNu1SpgVFPLhKtfro0= X-Received: by 2002:a81:8386:: with SMTP id t128mr66542833ywf.211.1555450611979; Tue, 16 Apr 2019 14:36:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tim Allison Date: Tue, 16 Apr 2019 17:36:41 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: streaming detection of OLE? To: POI Users List Content-Type: multipart/alternative; boundary="000000000000315a1b0586ac91f2" --000000000000315a1b0586ac91f2 Content-Type: text/plain; charset="UTF-8" >e.g. word, excel, powerpoint ... Y and a half dozen or so other non-MS OLE file types like StarOffice etc. >clsid Will take a look. Thank you! On Tue, Apr 16, 2019 at 3:35 PM Andreas Beeker wrote: > Hi Tim, > > when you say detection, you mean the type of OLE document? , e.g. word, > excel, powerpoint ... > > Instead of reading the directory entries, you could also read the > storage_clsid of the root record. > But I haven't checked yet, where this information is located in the file. > > Andi > > > --000000000000315a1b0586ac91f2--