Strange crashes in @CRC32 and @MD5
Hi,
I am experiencing some very strange crashes in the @CRC32 and @MD5
functions, using TCmd 11.00.39 (both x86 and x64 versions).
As it happens, I usually use the filename "f" for temporary files,
intermediate redirection output, and so on. However, when I try to run
either the @CRC32 or @MD5 function over such a file, TCC crashes. It
does not seem to matter whether the file "f" actually exists or not.
E.g. just run:
echo %@crc32[f]
in some empty directory, and it crashes. For the x86 version, the crash
stack is:
For the x64 version, it is:
Can anyone reproduce this?
Hi,
I am experiencing some very strange crashes in the @CRC32 and @MD5
functions, using TCmd 11.00.39 (both x86 and x64 versions).
As it happens, I usually use the filename "f" for temporary files,
intermediate redirection output, and so on. However, when I try to run
either the @CRC32 or @MD5 function over such a file, TCC crashes. It
does not seem to matter whether the file "f" actually exists or not.
E.g. just run:
echo %@crc32[f]
in some empty directory, and it crashes. For the x86 version, the crash
stack is:
Code:
> TakeCmd.dll!1004aeb5()
[Frames below may be incorrect and/or missing, no symbols loaded for TakeCmd.dll]
TakeCmd.dll!1004b051()
TakeCmd.dll!10013a1b()
TakeCmd.dll!10015428()
kernel32.dll!_BasepCreateActCtx@12() + 0x6db bytes
kernel32.dll!_GetFileAttributesW@4() + 0x68 bytes
05ffffff()
Code:
> TakeCmd.dll!0000000010056cf7()
[Frames below may be incorrect and/or missing, no symbols loaded for TakeCmd.dll]
TakeCmd.dll!0000000010056ee1()
TakeCmd.dll!000000001001dbe3()
TakeCmd.dll!000000001001f6f0()
TakeCmd.dll!0000000010029909()
TakeCmd.dll!000000001007fdfe()
TCC.exe!000000000040138e()
TCC.exe!0000000000403d3a()
kernel32.dll!BaseProcessStart() + 0x2c bytes