Skip to content

Commit 54ecd6c

Browse files
committed
bug
1 parent 86fa688 commit 54ecd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patchelf.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ void ElfFile<ElfFileParamNames>::rebuildGnuHashTable(const char* strTab, span<El
20082008
}
20092009

20102010
// Fill hash table
2011-
for (size_t i = 0; i < entries.size(); ++i)
2011+
for (size_t i = 0; i < ght.m_table.size(); ++i)
20122012
{
20132013
auto& n = entries[i];
20142014
bool isLast = (i == entries.size() - 1) || (n.bucketIdx != entries[i+1].bucketIdx);

0 commit comments

Comments
 (0)