forked from musescore/MuseScore
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #89216: Multiple possible causes of crashes or audible artefacts
Duplicate of musescore#7728 - Track sample name so we can issue proper warning messages, show filename - On read errors, issue an error message and mark sample as invalid - Mark sample as invalid if Ogg Vorbis decompression (SF3) fails - Do all sanity checks on {,loop}{start,end} with SF2 semantics for end; only switch end to point to the last sample afterwards in only one place - Add sanity check provided by the SoundFont spec as extra warning - Do not crash if there is no data[] - Issue diagnostics if disabling a sample - Swap two members to improve structure packing/alignment while there - Use unsigned integers for SoundFont element sizes properly Fixes https://bugs.debian.org/985129 and https://musescore.org/en/node/89216 and probably others
- Loading branch information
1 parent
95f1b7d
commit d2ed193
Showing
4 changed files
with
62 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters