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://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69450 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918985 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
164c239a52
commit
397cee3a12
@ -67,6 +67,9 @@ public class NURBSTo implements GeometryRow {
|
||||
|
||||
for (CellType cell : row.getCellArray()) {
|
||||
String cellName = cell.getN();
|
||||
if (cellName == null) {
|
||||
throw new POIXMLException("Invalid null-cell in NURBS row");
|
||||
}
|
||||
|
||||
switch (cellName) {
|
||||
case "X":
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user