Skip to content
Snippets Groups Projects
Unverified Commit 1140ac18 authored by Jayaram Sreevalsan's avatar Jayaram Sreevalsan Committed by GitHub
Browse files

Merge pull request #2888 from gdicristofaro/nixFix_231130

non-windows fix
parents 06e34a70 400a88ee
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ tsk_fs_attrlist_get_name_type(const TSK_FS_ATTRLIST * a_fs_attrlist,
fs_attr_ok = fs_attr_cur;
}
else if ((name) && (fs_attr_cur->name) && fs_attr_cur->type == TSK_FS_ATTR_TYPE_NTFS_DATA && !stricmp(fs_attr_cur->name, name)) {
else if ((name) && (fs_attr_cur->name) && fs_attr_cur->type == TSK_FS_ATTR_TYPE_NTFS_DATA && !strcasecmp(fs_attr_cur->name, name)) {
// NTFS data streams should do case insensitive compare
// make sure we return the lowest if multiple exist
if ((fs_attr_ok == NULL) || (fs_attr_ok->id > fs_attr_cur->id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment