Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- read_midi_file: Initialize format, tracks, divisions_tmp to -1 In case of very short broken files, they might not be read at all. Fixes 'uninitialized read' warnings from valgrind. - load_instrument: remove noluck variable and directly check whether rw is NULL. - groom_list: fix possible buffer overflow on the stack - select_sample: remove the 'vel' parameter - was a DLS left-over.
- Loading branch information
Showing
3 changed files
with
28 additions
and
30 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