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

Fix crash when lyrics startBar is over bars length #439

Merged
merged 2 commits into from
Nov 27, 2020
Merged

Fix crash when lyrics startBar is over bars length #439

merged 2 commits into from
Nov 27, 2020

Conversation

thoun
Copy link
Contributor

@thoun thoun commented Nov 25, 2020

When reading that file, alphaTab crash because lyrics is at bar 126 but there's only 108 bars. With the fix, lyrics placed after last bar is ignored.

The Cranberries - Zombie (ver 7 by kartapus).zip

@Danielku15 Danielku15 self-assigned this Nov 27, 2020
@Danielku15
Copy link
Member

Usually a PRs should be related to a work item tracked via issues. For the future please be sure to create a bug/feature-request and refer to it in the PR.

The fix seems valid. It seems this file is either corrupt or GP allows specifying bars beyond the range which is valid.

@Danielku15 Danielku15 merged commit 497dc51 into CoderLine:develop Nov 27, 2020
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