Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-14 Thread Stéphane Letz
Patch not complete AFAICS. Done on my side and pushed. Stéphane > Le 14 juin 2016 à 13:00, Kjetil Matheussen a écrit > : > > Works here on faust2. Thank you. > Patch for faust2: http://users.notam02.no/~kjetism/sourcereader.cpp.diff > > > On Tue, Jun 14, 2016 at 12:14 PM, Yann Orlarey wro

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-14 Thread Kjetil Matheussen
Works here on faust2. Thank you. Patch for faust2: http://users.notam02.no/~kjetism/sourcereader.cpp.diff On Tue, Jun 14, 2016 at 12:14 PM, Yann Orlarey wrote: > I pushed a fix on the master branch. Tests are welcome. > Cheers > > Yann > > Yann Orlarey > > Directeur scientifique > www.grame.fr

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-14 Thread Yann Orlarey
I pushed a fix on the master branch. Tests are welcome. Cheers Yann Yann Orlarey Directeur scientifique www.grame.fr 2016-06-14 6:57 GMT+02:00 Yann Orlarey : > Hi, > > I confirm, it is clearly a bug. The compiler should complain about the > redefinition of a symbol, not crash ! > Thanks for

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Yann Orlarey
Hi, I confirm, it is clearly a bug. The compiler should complain about the redefinition of a symbol, not crash ! Thanks for discovering the problem. Yann Yann Orlarey Directeur scientifique www.grame.fr 2016-06-13 23:38 GMT+02:00 Kjetil Matheussen : > > > On Mon, Jun 13, 2016 at 7:25 PM, Al

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Kjetil Matheussen
On Mon, Jun 13, 2016 at 7:25 PM, Albert Graef wrote: > On Mon, Jun 13, 2016 at 6:54 PM, hermann meyer wrote: > >> Did that mean that I could have now multiple process calls in one faust >> source? >> > > Nope, that program is in error. :) But at least you wouldn't expect the > compiler to crash

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Kjetil Matheussen
On Mon, Jun 13, 2016 at 7:24 PM, Albert Graef wrote: > On Mon, Jun 13, 2016 at 5:15 PM, Kjetil Matheussen < > k.s.matheus...@gmail.com> wrote: > >> I get a crash when compiling this program: >> >> " >> process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, 5, >> 0.05);}; >> process

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Albert Graef
On Mon, Jun 13, 2016 at 6:54 PM, hermann meyer wrote: > Did that mean that I could have now multiple process calls in one faust > source? > Nope, that program is in error. :) But at least you wouldn't expect the compiler to crash on it. -- Dr. Albert Gr"af Computer Music Research Group, JGU M

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Albert Graef
On Mon, Jun 13, 2016 at 5:15 PM, Kjetil Matheussen wrote: > I get a crash when compiling this program: > > " > process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, 5, > 0.05);}; > process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, 5, > 0.05);}; > " > I'm getti

Re: [Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread hermann meyer
Am 13.06.2016 um 17:15 schrieb Kjetil Matheussen: > Hi, > > I get a crash when compiling this program: > > " > process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, > 5, 0.05);}; > process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, > 5, 0.05);}; > " Did that

[Faudiostream-devel] heap-buffer-overflow in patternmatcher

2016-06-13 Thread Kjetil Matheussen
Hi, I get a crash when compiling this program: " process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, 5, 0.05);}; process = *(v), *(v) with { v = hslider("volume[style:knob]", 0.5, 0, 5, 0.05);}; " It's reproducable using faust2. You might need to compile faust with -fsanitize=a