Hello
in the SDK, file 7zIn.c, lines 1152-1153, I can see :
if (nextHeaderOffset > nextHeaderOffset + nextHeaderSize || nextHeaderOffset > nextHeaderOffset + nextHeaderSize + k7zStartHeaderSize)
but all the variables are unsigned (that is, >= 0), so I think that this test is always false
is it normal to have such test ?
thank you
Vincent Torri
I tried to prevent "add overflow" (over 0).
Log in to post a comment.
Hello
in the SDK, file 7zIn.c, lines 1152-1153, I can see :
but all the variables are unsigned (that is, >= 0), so I think that this test is always false
is it normal to have such test ?
thank you
Vincent Torri
I tried to prevent "add overflow" (over 0).