From: Paul Brossier Date: Tue, 30 Aug 2016 13:06:40 +0000 (+0200) Subject: src/notes/notes.c: fix out-of-bound write X-Git-Tag: 0.4.4~226 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=3f961c429595a11688f9a4f978b0d508c6f05508;p=aubio.git src/notes/notes.c: fix out-of-bound write --- 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 */