You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/11/28 18:36:01 UTC

DO NOT REPLY [Bug 52258] New: CodePageString null check triggering for non codepage data

https://issues.apache.org/bugzilla/show_bug.cgi?id=52258

             Bug #: 52258
           Summary: CodePageString null check triggering for non codepage
                    data
           Product: POI
           Version: 3.8-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HPFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: nick.burch@alfresco.com
    Classification: Unclassified


There seems to be something up with the new HPSF properties parsing and
CodePageString. 

The result is that for files such as "TestVisioWithCodepage.vsd" (taken from
the Tika test suite, and created with Visio), HPSF is deciding that at least
one apparently non codepage property is one

What then happens is that the string "Page-1\0c" is parsed through the null
termination check in CodePageString, and blows up

-- 
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