mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-13 14:43:16 +00:00
Merge remote-tracking branch 'origin/GT-3300_ryanmkurtz_PR-1222_xiaoyinl_fix-overread' into patch
This commit is contained in:
commit
9684c23b5e
@ -239,7 +239,7 @@ DWORD getTag(IDiaSymbol& symbol) {
|
||||
|
||||
std::wstring getTagAsString(IDiaSymbol& symbol) {
|
||||
const DWORD tag = getTag(symbol);
|
||||
if (tag > _countof(SYMBOL_TAG_STRINGS)) {
|
||||
if (tag > _countof(SYMBOL_TAG_STRINGS) - 1) {
|
||||
return L"";
|
||||
}
|
||||
return SYMBOL_TAG_STRINGS[tag];
|
||||
|
Loading…
Reference in New Issue
Block a user