projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41fc24f
)
src/notes/notes.c: fix out-of-bound write
author
Paul Brossier
<piem@piem.org>
Tue, 30 Aug 2016 13:06:40 +0000
(15:06 +0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 30 Aug 2016 13:06:40 +0000
(15:06 +0200)
src/notes/notes.c
patch
|
blob
|
history
diff --git
a/src/notes/notes.c
b/src/notes/notes.c
index
22a7cd8
..
ac48fec
100644
(file)
--- 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 */