Skip to content

Commit

Permalink
#9: Access Violation using MemoryModule for large application built w…
Browse files Browse the repository at this point in the history
…ith runtime packages
  • Loading branch information
ccy committed Jul 4, 2020
1 parent 0579719 commit 640751c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MemoryModule.pas
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ function ExecuteTLS(Module: PMemoryModule): Boolean;
callback := Pointer(tls.AddressOfCallBacks);
if callback <> nil then
begin
callback := FixPtr(callback);
// callback := FixPtr(callback);
while callback^ <> nil do
begin
PIMAGE_TLS_CALLBACK(FixPtr(callback^))(CodeBase, DLL_PROCESS_ATTACH, nil);
Expand Down

0 comments on commit 640751c

Please sign in to comment.