News
[Practical 2] Bug in C Compiler
Written on 13.12.2024 08:04 by Lorenz Hetterich
Hi,
A bug was discovered in the C compiler of Practical 2, and it is now fixed.
To ensure you have the latest version, you may pull from the upstream repo after you committed all local changes:
# in your git repository:
git pull upstream main --rebase
git pull upstream main --rebase
The fix should not cause any changes to the victim, libc, or OS assembly code.
Sorry for the inconvenience.
Bug Details:
When non-zero constant values are used as indices (a[3], &a[5], or *(a + 6). But not a[x]), the compiler often fails to add the corresponding offset to the memory location correctly.