Skip to content

Commit 47c2872

Browse files
authored
Merge pull request #715 from MarcMil/npe
NPE fix
2 parents b063282 + 3b937a7 commit 47c2872

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

soot-infoflow-android/src/soot/jimple/infoflow/android/source/parsers/xml/AbstractXMLSourceSinkParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ protected void handleStarttagCategory(Attributes attributes) {
190190
if (strCategory != null && !strCategory.isEmpty())
191191
strCategory = strCategory.trim();
192192

193-
String strDescription = attributes.getValue(XMLConstants.DESCRIPTION_ATTRIBUTE).trim();
193+
String strDescription = attributes.getValue(XMLConstants.DESCRIPTION_ATTRIBUTE);
194+
194195
if (strDescription != null && !strDescription.isEmpty())
195196
strDescription = strDescription.trim();
196197

0 commit comments

Comments
 (0)