mirror of https://github.com/apache/poi.git
Bug 66425: Avoid exceptions found via poi-fuzz
Fix one expected exception-text which is different on newer Java versions Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63142 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
56eb1ccff6
commit
4cff905375
|
@ -59,6 +59,11 @@ public class Ellipse implements GeometryRow {
|
|||
for (CellType cell : row.getCellArray()) {
|
||||
String cellName = cell.getN();
|
||||
|
||||
if (cellName == null) {
|
||||
throw new POIXMLException("Invalid cell '" + cellName
|
||||
+ "' in Ellipse row");
|
||||
}
|
||||
|
||||
switch (cellName) {
|
||||
case "X":
|
||||
x = XDGFCell.parseDoubleValue(cell);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue