We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506bb96 commit e131e08Copy full SHA for e131e08
src/mach-o/utils/tbd-create.cc
@@ -1045,7 +1045,7 @@ namespace macho::utils {
1045
1046
// Skip size 0 strings
1047
1048
- auto string = &string_table[iter->n_un.n_strx];
+ auto string = &string_table[index];
1049
if (*string == '\0') {
1050
continue;
1051
}
@@ -1246,7 +1246,6 @@ namespace macho::utils {
1246
string = &string[string_index];
1247
string_length -= string_index;
1248
1249
-
1250
const auto symbols_end = this->symbols.end();
1251
1252
// An optimization can be made here to remove
0 commit comments