DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10735>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10735

[PATCH] Fixes to FormulaParser to keep it from getting index out of bounds on 
formulaString

           Summary: [PATCH] Fixes to FormulaParser to keep it from getting
                    index out of bounds on formulaString
           Product: POI
           Version: 2.0-dev
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HSSF
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Under some conditions, the parser will attempt to step off the end of the string
and get an index out of bounds.  This just adds a check to getChar that won't
allow getCharAt to return something for a pointer that's byond the end of the
string.

Also uncommented Multiply and Divide in Expression.  They seem to work correctly.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to