Integer Overrun
Posted: 26.11.2014, 11:19
Hello,
in the unit "ZCompatibility" there is the function "hash" - for some values this function gives an exception (integer overrun).
My system : Windows 8.1 (64 Bit), Delphi XE6, Zeos 7.1.3a, build target is 32 Bit
The problem will, for testing, occure when passing a string of 175 Characters "N" (0x4E) or 175 Characters 0x8C to the function.
This is not the original string; in fact, it was a "UPDATE"-statement with a longer part of underlines.
I can turn off Range-checking ($Q-) for my project, maybe it will be helpfull to do this just for this function ?
with best regards
Andreas
in the unit "ZCompatibility" there is the function "hash" - for some values this function gives an exception (integer overrun).
My system : Windows 8.1 (64 Bit), Delphi XE6, Zeos 7.1.3a, build target is 32 Bit
The problem will, for testing, occure when passing a string of 175 Characters "N" (0x4E) or 175 Characters 0x8C to the function.
This is not the original string; in fact, it was a "UPDATE"-statement with a longer part of underlines.
I can turn off Range-checking ($Q-) for my project, maybe it will be helpfull to do this just for this function ?
with best regards
Andreas