aboutsummaryrefslogtreecommitdiff
path: root/EfiGuardDxe/pe.c
diff options
context:
space:
mode:
authorMattiwatti <mattiwatti@gmail.com>2019-05-06 19:14:57 +0200
committerMattiwatti <mattiwatti@gmail.com>2019-05-06 19:14:57 +0200
commit363621d0a00e89af5e3a68f34242999f04355042 (patch)
tree973b27789274fda8e88271d02670635742fc78d1 /EfiGuardDxe/pe.c
parent3ce5a864a0384d4456aeafbbc8bf72953d580a21 (diff)
Fix two dumb mistakes that were cancelling each other out
PE section names must be null terminated because they are not guaranteed to be. However they must be null terminated at 8 characters, not at the length of the string that happens to be relevant for whatever reason. This would have led to false positives when finding sections, were it not for the off-by-one error that was keeping an additional character in the buffer
Diffstat (limited to 'EfiGuardDxe/pe.c')
0 files changed, 0 insertions, 0 deletions