shithub: aubio

Download patch

ref: 3f961c429595a11688f9a4f978b0d508c6f05508
parent: 41fc24f667a468bdc12a0018bc9ba234ba373326
author: Paul Brossier <piem@piem.org>
date: Tue Aug 30 11:06:40 EDT 2016

src/notes/notes.c: fix out-of-bound write

--- a/src/notes/notes.c
+++ b/src/notes/notes.c
@@ -170,7 +170,6 @@
         /* kill old note */
         //send_noteon(curnote,0);
         notes->data[2] = o->curnote;
-        notes->data[3] = 0;
         o->newnote = aubio_notes_get_latest_note(o);
         o->curnote = o->newnote;
         /* get and send new one */