summaryrefslogtreecommitdiff
path: root/src/lang/unfinished
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-05-12 13:12:55 +0000
committerrubidium <rubidium@openttd.org>2013-05-12 13:12:55 +0000
commit001fdc3682bd514b31f7c3a0a916720af056b00b (patch)
tree1093ba1956b68079deaba48c0d65b0496b9ddfd3 /src/lang/unfinished
parent5931faeff6afd9c9a76410aa756f3dc4effed29d (diff)
downloadopenttd-001fdc3682bd514b31f7c3a0a916720af056b00b.tar.xz
(svn r25236) -Fix [FS#5547]: crash when AI is executing a command as it is bankrupted (removed from the game)
The command is placed in a queue for processing before it is bankrupted, after that the command is executed. This command yields a failure because the company does not exist, but then it still needs to call the callback. This callback tries to access the AI's virtual machine without any checks, so it starts to read a just freed pointer and segfaults.
Diffstat (limited to 'src/lang/unfinished')
0 files changed, 0 insertions, 0 deletions