mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
fix for comment and jagged rows
This commit is contained in:
parent
2d59574fa9
commit
643e872396
@ -347,7 +347,7 @@ public final class LeappFileProcessor {
|
||||
}
|
||||
|
||||
Integer columnIdx = columnIndexes.get(colAttr.getColumnName());
|
||||
String value = (columnIdx == null) ? null : lineValues[columnIdx];
|
||||
String value = (columnIdx == null || columnIdx > lineValues.length || columnIdx < 0) ? null : lineValues[columnIdx];
|
||||
if (value == null) {
|
||||
logger.log(Level.WARNING, String.format("No value found for column %s at line %d in file %s.", colAttr.getColumnName(), lineNum, fileName));
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user