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 52258] New: CodePageString null check triggering for non codepage data
Date Mon, 28 Nov 2011 17:36:01 GMT
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


Mime
View raw message