Bug 47312 - Formula parser should reject cell references like 'B0' (with zero row number)
Summary: Formula parser should reject cell references like 'B0' (with zero row number)
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.5-dev
Hardware: PC Windows XP
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL: http://mail-archives.apache.org/mod_m...
Keywords:
Depends on:
Blocks: 56254
  Show dependency tree
 
Reported: 2009-06-03 16:18 UTC by Josh Micich
Modified: 2015-03-14 22:37 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Micich 2009-06-03 16:18:37 UTC
The following code doesn't crash:

HSSFFormulaParser.parse("B0", wb);

(It actually returns a RefPtg of "B65536" in latest svn trunk).

This is a regression from version 3.2, which seems to have occurred in early 3.5-beta versions.  It was fixed by 3.5-beta4, but then re-regressed (junits didn't cover this case).
Comment 1 Josh Micich 2009-06-03 16:30:34 UTC
fixed in svn r781616

junits added