Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Application crashes and OS instability can overwrite the currently edited file with junk
Re: Application crashes and OS instability can overwrite the currently edited file with junk [message #54606 is a reply to message #54605] Wed, 19 August 2020 16:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Wed, 19 August 2020 14:43
I suppose what I'm getting at is this: if you write a bad application and run it does theide fork a child process that could access the parent's memory (in this case, the currently open file) and overwrite it with junk which would then be written to the filesystem once theide has focus again?


Well, as I have tried to explain previous post, it is quite unlikely that the file is even open (now reading the post, I guess I have not stated that clearly. But the file is open only when loading and saving). And there is no memory sharing between theide and child process.

The only thing that comes to mind is that when you launch app from theide, the path to main package is passed in the environment. That is to support GetDataFile function, which is really handy for testing. So maybe the bad app can know the folder where source files are...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can U++ TheIDE be used with cxxtest ?
Next Topic: [SOLVED] Skipping package building/linking when certain configuration is on
Goto Forum:
  


Current Time: Thu May 23 09:55:28 CEST 2024

Total time taken to generate the page: 0.02361 seconds