Bug 12505 - [PATCH] Cells can be written out at index less then 0
Summary: [PATCH] Cells can be written out at index less then 0
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: Other other
: P3 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2002-09-10 23:55 UTC by Eric Pugh
Modified: 2004-11-16 19:05 UTC (History)
0 users

Fix for bounds checking on HSSFCell (1.59 KB, patch)
2002-09-11 00:37 UTC, Eric Pugh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Pugh 2002-09-10 23:55:25 UTC
> I was writing some code and discovered that I was writing cell's out at
> column index -1..  This didn't seem to bother POI, but did tank Excel when I
> then tried to open it.  Should poi itself prevent negative indexs?  If not,
> I might add it to the HSSFCellUtil class to prevent silly mistakes.

Now submitting this as a bug.
Comment 1 Eric Pugh 2002-09-11 00:37:15 UTC
Created attachment 3004 [details]
Fix for bounds checking on HSSFCell
Comment 2 Andy Oliver 2002-09-11 12:12:59 UTC
(I nearly missed this 'cause it wasn't labeled patch)
Comment 3 Andy Oliver 2002-09-11 12:15:40 UTC
so it has been written, so it has been done... please cross check.  ;-)