Skip to content

Commit

Permalink
[BUGFIX] Changed initialization of the extensions list (backward comp…
Browse files Browse the repository at this point in the history
…at.)
  • Loading branch information
hasherezade committed Nov 12, 2023
1 parent 7dd0a8d commit 9cb4256
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pe-bear/base/PeHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ QString CalcThread::makeImpHash()
ImportDirWrapper* imports = m_PE->getImports();
if (!imports) return QString();

QStringList exts = {".ocx", ".sys", ".dll"};
QStringList exts;
exts.append(".ocx");
exts.append(".sys");
exts.append(".dll");

const size_t librariesCount = imports->getEntriesCount();

QList<offset_t> thunks = imports->getThunksList();
Expand Down

0 comments on commit 9cb4256

Please sign in to comment.