mirror of https://github.com/apache/poi.git
Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70273 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
148ac23c0d
commit
7601beb592
|
@ -73,9 +73,9 @@ public abstract class XDGFSheet {
|
|||
|
||||
for (SectionType section: sheet.getSectionArray()) {
|
||||
String name = section.getN();
|
||||
if (name.equals("Geometry")) {
|
||||
if ("Geometry".equals(name)) {
|
||||
_geometry.put(section.getIX(), new GeometrySection(section, this));
|
||||
} else if (name.equals("Character")) {
|
||||
} else if ("Character".equals(name)) {
|
||||
_character = new CharacterSection(section, this);
|
||||
} else {
|
||||
_sections.put(name, XDGFSection.load(section, this));
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue