fix some typos

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2022-08-23 16:18:13 +08:00 committed by Markus F.X.J. Oberhumer
parent 1b21fef081
commit 44a53736ff
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ Please report all problems or suggestions to the authors. Thanks.
IMPORTANT NOTE: B<UPX> inherits the security context of any files it handles.
This means that packing, unpacking, or even testing or listing a file requires
the same security considerations as acutally executing the file.
the same security considerations as actually executing the file.
Use B<UPX> on trusted files only!

View File

@ -622,7 +622,7 @@ void PackWcle::decodeFixups()
}
// Guard against run-away.
static unsigned char const blank[9] = {0};
if (q > (oimage + ph.u_len - sizeof(blank)) // catastrohpic worst case
if (q > (oimage + ph.u_len - sizeof(blank)) // catastrophic worst case
|| !memcmp(blank, q, sizeof(blank)) // no-good early warning
) {
char msg[50]; snprintf(msg, sizeof(msg),