-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out-of-bounds seen cache array access when starting a new game #53103
Comments
This is probably also the cause of #52300. |
Confirmed, when compiled with
|
Assuming this is the cause of #52300, I'm not seeing it anymore. I'm not confident enough to close it just yet, but is there a chance this resolved itself? I don't see any recent merges that would do it... |
Memory access violation does not necessarily cause a user visible crash. It could silently overwrite something in memory while remain undiscovered. |
Looks like #36570 (well, similar to) |
Similar symptom, but a different cause this time. |
Describe the bug
When starting a new game there is an out-of-bounds array access on
seen_cache
array inlightmap.cpp
:Cataclysm-DDA/src/lightmap.cpp
Lines 989 to 990 in d8a51aa
Steps to reproduce
make RELEASE=1 SANITIZE=address,undefined cataclysm -j4
N
->N
[Play Now]"Please wait as we build your world"
Expected behavior
Game starts without memory access errors.
Screenshots
No response
Versions and configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: