Re: [Discuss-gnuradio] bug in gri_fft.cc

2013-06-29 Thread Johnathan Corgan
On Thu, Jun 27, 2013 at 1:43 AM, Marek Czerski wrote: > I found a bug in gnuradio-core/src/lib/general/gri_fft.cc, in function: > static const char * wisdom_filename () > > It returns pointer to char string from temporary object created by call > to path.string(). Obviously, this pointer is poin

[Discuss-gnuradio] bug in gri_fft.cc

2013-06-27 Thread Marek Czerski
Hi all, I found a bug in gnuradio-core/src/lib/general/gri_fft.cc, in function: static const char * wisdom_filename () It returns pointer to char string from temporary object created by call to path.string(). Obviously, this pointer is pointing to garbage after exit from wisdom_filename() functio