Closed wzdev-ci closed 14 years ago
cybersphinx edited the issue description
Zarel commented
I nominate "T.585" for "most descriptive function name ever"
Zarel commented
Hrm. There's really very little we can do about this, especially with the information given.
cybersphinx commented
I think I've seen this before. And branches/2.3/src/structure.c#L2005 could crash, psStats isn't checked in that function.
Per uploaded file mitigate1334.diff
(1.7 KiB)
Patch to mitigate the crash
cybersphinx commented
Hm, should prevent this crash. buildBlueprint's return value is always used unchecked though, so if it gets a NULL from somewhere else, the game will crash later.
cybersphinx commented
Ah, #1259, first attachment, last crash.
Per changed status from new
to closed
Per set resolution to fixed
Per commented
(In [9113]) 2.3: Mitigate a crash in blueprint drawing. Also add more debug info when bug happens. Closes #1334
Per commented
(In [9115]) Mitigate a crash in blueprint drawing. Also add more debug info when bug happens. Closes #1334
Zarel commented
You'll notice the crash was:
Reading from location 00000040.
i.e. I'm not sure you're checking for the right null pointers.
resolution_fixed
type_bug
| by Dylan HsuIssue migrated from trac:1334 at 2022-04-15 20:23:33 -0700