drobilla / jalv

A simple fully-featured host for LV2 plugins
http://drobilla.net/software/jalv
ISC License
52 stars 18 forks source link

Path is not NULL terminated #32

Closed x42 closed 4 years ago

x42 commented 4 years ago

https://github.com/drobilla/jalv/blob/2edac903ad52c66340e8a68822d1880ae3007d4a/src/jalv_gtk.c#L659

Should be 1 + strlen(path) to pass a c-string safely to plugin(s).

drobilla commented 4 years ago

Also another one: f906a25ba6aa00c00b9ad72ea76e73c875045640, thanks.