BTW: The bug id is 3065, not 2065.
Bye

-----Ursprüngliche Nachricht-----
Von: Müller Michael [mailto:[email protected]] 
Gesendet: Freitag, 20. November 2009 16:35
An: '[email protected]'
Betreff: Re: [mitk-users] bug: mitk::CoreObjectFactory::GetFileExtensions() 
returns pointer to local variable

Hi all,

the reported bug in GetFileExtensions() is fixed since Revision 20427.

Have a nice weekend
Michael Müller

-----Ursprüngliche Nachricht-----
Von: Daniel Maleike [mailto:[email protected]] 
Gesendet: Freitag, 20. November 2009 14:46
An: eduard fried
Cc: [email protected]
Betreff: Re: [mitk-users] bug: mitk::CoreObjectFactory::GetFileExtensions() 
returns pointer to local variable

On Fri, 2009-11-20 at 13:47 +0100, eduard fried wrote:
> The class method mitk::CoreObjectFactory::GetFileExtensions() returns a 
> const char pointer from the string c_str() method. The string object is 
> created in this method and also destroyed when the program leaves the 
> method's scope. Consequently the pointer becomes invalid. As a result 
> the FileOpen dialog doesn't work, because it filter with a bogus string, 
> at least in the Debug version. The Release version filters with (*.*), 
> which works but is still wrong.

Thanks for your report. I added it as bug #2065 to http://bugs.mitk.org.
You can track it's progress when registering an account for the bug
tracker.

Regards,
Daniel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to