aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-06-19 10:00:39 +0100
committerRon Yorston <rmy@pobox.com>2024-06-19 10:00:39 +0100
commit0914f116c06d4724f25e23b685279024f809f434 (patch)
treeeb6273f5a1f4f3f0fca111c2834ec7d7b247cce9 /docs
parent80b1e4e59d0c36ef0988570d6f32f560c1b7e0ff (diff)
downloadbusybox-w32-0914f116c06d4724f25e23b685279024f809f434.tar.gz
busybox-w32-0914f116c06d4724f25e23b685279024f809f434.tar.bz2
busybox-w32-0914f116c06d4724f25e23b685279024f809f434.zip
win32: code shrink APE detection; avoid UB
Detecting Actually Portable Executable binaries used a longer signature than seems necessary. Six characters should be enough for anyone. When right shifting a byte by 24 bits, cast it to unsigned to avoid undefined behaviour. Saves 24-32 bytes. (GitHub issue #424)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions