Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Mudflap, C++, and lenght of executable name.: (3 Items)
   
Mudflap, C++, and lenght of executable name.  
Create a QNX C++ project, add mudflap support and build.  Run/debug the application, all is fine. Now rename the 
executable to anything you like, but make it 14 character long or more.  Run/debug the rename, memory fault!!!
Re: Mudflap, C++, and lenght of executable name.  
It was supposed to be fixed, PR 65085.

I will reopen it and revisit the issue.

Thanks for reporting,

Aleksandar

Mario Charest wrote:
> Create a QNX C++ project, add mudflap support and build.  Run/debug the application, all is fine. Now rename the 
executable to anything you like, but make it 14 character long or more.  Run/debug the rename, memory fault!!!
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post35700
> 

RE: Mudflap, C++, and lenght of executable name.  

> -----Original Message-----
> From: Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Sent: Tuesday, August 11, 2009 11:01 AM
> To: general-toolchain
> Subject: Re: Mudflap, C++, and lenght of executable name.
> 
> It was supposed to be fixed, PR 65085.
> 
> I will reopen it and revisit the issue.

Thanks, I'll wait for some feedback because maybe other stuff that should have been fixed looks like they have not. With
 C++ program it's totally unusable.  Reports memory leak for every global object (const std::string msg("this is a test"
); , as though the check is done before all these object destructors are called?  Or maybe 

The number of "read out of bounds" report in xstring, *stream and other are off the chart!

> 
> Thanks for reporting,
> 
> Aleksandar
> 
> Mario Charest wrote:
> > Create a QNX C++ project, add mudflap support and build.  Run/debug
> the application, all is fine. Now rename the executable to anything you
> like, but make it 14 character long or more.  Run/debug the rename,
> memory fault!!!
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post35700
> >
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post35701
>