mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
Merge remote-tracking branch 'upstream/develop' into collaborative
This commit is contained in:
commit
f34de7d596
@ -153,10 +153,13 @@ public class FileTypeDetector {
|
|||||||
ArrayList<BlackboardAttribute> attributes = file.getGenInfoAttributes(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_FILE_TYPE_SIG);
|
ArrayList<BlackboardAttribute> attributes = file.getGenInfoAttributes(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_FILE_TYPE_SIG);
|
||||||
for (BlackboardAttribute attribute : attributes) {
|
for (BlackboardAttribute attribute : attributes) {
|
||||||
/**
|
/**
|
||||||
* There should be at most one TSK_FILE_TYPE_SIG attribute.
|
* There should be at most one TSK_FILE_TYPE_SIG attribute...
|
||||||
*/
|
*/
|
||||||
fileType = attribute.getValueString();
|
String postedFileType = attribute.getValueString();
|
||||||
break;
|
if (null != postedFileType && !postedFileType.isEmpty()) {
|
||||||
|
fileType = postedFileType;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return fileType;
|
return fileType;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user