Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

buffer overrun in radar.c:428 with latest trunk (r6438), mission gamma 2 #184

Closed
wzdev-ci opened this issue Dec 9, 2008 · 5 comments
Closed

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented Dec 9, 2008

keyword_overrun_radar.c_DrawRadarObjects resolution_invalid type_bug | by mndflayr


I just encountered a bug in mission gamma 2.
(the one where you destroy the missile silos and then have to escape)

As soon as the second part of the mission begins, the game crashes with a buffer overrun in function DrawRadarObjects in radar.c at line 428.
I guess that this is caused by the fact that the mapsize (or at least the size of the map shown on the radar) increases at this point but the buffer is not properly resized.

This happens on Linux/x64 with trunk revision [6438].
I also tested it on [6348], same effect.

I attached the crash dumps for both revisions.


Issue migrated from trac:184 at 2022-04-15 17:50:17 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 9, 2008

anonymous uploaded file warzone2100.gdmp-kGkGXg (12.7 KiB)

Crashdump r6438

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 9, 2008

anonymous uploaded file warzone2100.gdmp-ldltG6 (12.2 KiB)

r6348

@wzdev-ci
Copy link
Contributor Author

Buginator set resolution to invalid

@wzdev-ci
Copy link
Contributor Author

Buginator changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Buginator commented


Sorry, but the dumps are useless without debug symbols.
Can you compile with symbols, and reopen this ticket, or start a new one?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant