Closed olszomal closed 1 year ago
Wouldn't
if (is_root && (entry->nameLen > sizeof msi_root_entry || memcmp(entry->name, msi_root_entry, entry->nameLen))) {
be both more strict and easier to understand?
if (is_root && (entry->nameLen != sizeof msi_root_entry || memcmp(entry->name, msi_root_entry, entry->nameLen))) {
Wouldn't
be both more strict and easier to understand?