1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Correctly terminate strings in stub DLLs.

This commit is contained in:
Daniel Collins 2011-08-12 01:12:10 +00:00
parent adfdff8fb7
commit bfa611ae6e
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ Version ???:
Update: Log DLL and function names in ipxwrapper.log when call logging
is enabled.
Bugfix: Correctly terminate stub DLL names.
Version 0.2.1:
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using

View File

@ -36,9 +36,9 @@ print CODE "section .rdata:\n";
if(@ARGV == 3) {
print CODE "\tglobal\t_dllname\n";
print CODE "\tdllname_s:\tdb\t'".$ARGV[2]."'\n";
print CODE "\tdllname_s:\tdb\t'".$ARGV[2]."', 0\n";
print CODE "\t_dllname:\tdd\tdllname_s\n";
print CODE "\tcall_fmt\tdb\t'\%s:\%s'\n";
print CODE "\tcall_fmt\tdb\t'\%s:\%s', 0\n";
}
foreach my $func(@stubs) {