From 3f961c429595a11688f9a4f978b0d508c6f05508 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 30 Aug 2016 15:06:40 +0200 Subject: [PATCH] src/notes/notes.c: fix out-of-bound write --- src/notes/notes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/notes/notes.c b/src/notes/notes.c index 22a7cd87..ac48fec4 100644 --- a/src/notes/notes.c +++ b/src/notes/notes.c @@ -170,7 +170,6 @@ void aubio_notes_do (aubio_notes_t *o, const fvec_t * input, fvec_t * notes) /* 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 */ -- 2.11.0