[MusicXML] Crash when importing time signature containing Unicode private use characters
The file attached to https://musescore.org/en/node/92236 causes a crash when imported into MuseScore. The file contains U+F034 characters in the time signature, which are not recognized and lead to a divide by zero. Although it is unknown how to interpret these characters, the crash should be prevented.
Comments
Finale NotePad interprets these time signatures as 4/4, even when the U+F034 is changed into U+F035.
Actually the issue is a bit broader: MuseScore crashes on any time signature where either beats or beat type cannot be parsed as an integer.
Pull request 2346
Fixed in branch master, commit af1ec147b8
fix #92306 - crash when importing MusicXML with invalid time sig
Fixed in branch master, commit b4aa235bc2
Merge pull request #2346 from lvinken/92306-crash-on-invalid-musicxml-timesig
fix #92306 - crash when importing MusicXML with invalid time sig
Fixed in branch 2.0.3, commit 1a28b23aa0
fix #92306 - crash when importing MusicXML with invalid time sig
Automatically closed -- issue fixed for 2 weeks with no activity.