mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a NullPointerException Fixes https://issues.oss-fuzz.com/issues/42537550 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57afb34a18
commit
76617e9793
@ -73,6 +73,10 @@ public class EllipticalArcTo implements GeometryRow {
|
||||
for (CellType cell : row.getCellArray()) {
|
||||
String cellName = cell.getN();
|
||||
|
||||
if (cellName == null) {
|
||||
throw new POIXMLException("Missing cellName in EllipticalArcTo row");
|
||||
}
|
||||
|
||||
switch (cellName) {
|
||||
case "X":
|
||||
x = XDGFCell.parseDoubleValue(cell);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user