jpommerening/midikit — pull request #14 by rajnish11062 (2014-09-17 10:49:16+00:00)
Title: applemidi.c: Fix out of bounds read.

len -= 16; should be executed after upper bounds check (sizeof (command->data.session.name)).
Otherwise, msg[] array may still be read beyond offset 48.

Should correctly fix #13 .