poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51832] New: Workbook not detected as encrypted if WRITEPROTECT record precedes FILEPASS record
Date Fri, 16 Sep 2011 04:32:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51832

             Bug #: 51832
           Summary: Workbook not detected as encrypted if WRITEPROTECT
                    record precedes FILEPASS record
           Product: POI
           Version: 3.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: trejkaz@trypticon.org
    Classification: Unclassified


Created attachment 27505
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27505
Proposed patch

I have about a dozen files here where WRITEPROTECT precedes FILEPASS.  I can't
seem to reproduce this myself even if I turn on write protect and encryption
for the same workbook, but I am attaching a fix for the issue anyway.

I'm also worried about the general nature of the FILEPASS record - what if it
can occur literally _anywhere_?  Is POI's approach of only looking a few
records deep actually correct in general?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message