Skip to content
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

Deeply copy blows for player ghost #421

Merged

Conversation

backwardsEric
Copy link
Contributor

Avoids modifying blows of the base race when creating a ghost. Without that change, generating thousands of levels using the debugging disconnection statistics command at Angband 65 triggered the undefined behavior sanitizer when the number of dice sides for a melee blow overflowed.

Avoids modifying blows of the base race when creating a ghost.
@NickMcConnell NickMcConnell merged commit 2e7bd35 into NickMcConnell:main Jun 3, 2024
20 checks passed
@backwardsEric backwardsEric deleted the ghost-blows-deep-copy branch August 16, 2024 13:32
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.

2 participants