Skip to content

add a safety check to manageUnitAttackEvent to avoid a potential crash - #5861

Merged
ab9rf merged 1 commit into
DFHack:developfrom
ab9rf:eventmanager-safety
Aug 2, 2026
Merged

add a safety check to manageUnitAttackEvent to avoid a potential crash#5861
ab9rf merged 1 commit into
DFHack:developfrom
ab9rf:eventmanager-safety

Conversation

@ab9rf

@ab9rf ab9rf commented Aug 2, 2026

Copy link
Copy Markdown
Member

based on a bug report in which DFHack crashed due to getting an erroneous result from binsearch, presumably due to crud in the DF vector

based on a bug report in which DFHack crashed due to getting an erroneous result from `binsearch`, presumably due to crud in the DF vector
@ab9rf
ab9rf merged commit fb78d96 into DFHack:develop Aug 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant