Public bug reported:

The eC compiler and IDE crashed on buffer overflows.
These included:
   - The GCC command for preprocessing in ecp and ecc
   - The communication with integrated GDB
   - Opening in the Code Editor a file specifying a text property containing a 
long string of text
   - Using a very long set of command line arguments (Project 
Settings/Workspace)

[Test Case]
   - Run ecp or ecp with a lot of arguments to be passed down to GCC for 
processing ( e.g. a lot of -I/usr/include/long/paths )
   - Cause a long (>1024 chars) GDB command to be issued (e.g. add a very long 
identifier expression to the Watch window)
   - Open up ide/src/about.ec in the IDE
   - Set up a very long set of command line arguments (Project 
Settings/Workspace)

[Regression Potential]
Since the size for these buffers have either be increased, or they have been 
replaced by dynamic buffer, things should work better. Nothing should be 
negatively affected.
It might still possible to reproduce some of these which much bigger strings 
for the GCC preprocessing command and the communication with GDB: for these the 
buffer has been increased from 1024 to 3075 characters until we have a safer 
solution.

** Affects: ecere-sdk (Ubuntu)
     Importance: Undecided
     Assignee: Jerome St-Louis (jerstlouis)
         Status: New

** Changed in: ecere-sdk (Ubuntu)
     Assignee: (unassigned) => Jerome St-Louis (jerstlouis)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107864

Title:
  [SRU] The eC compiler and IDE crashed on buffer overflows

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecere-sdk/+bug/1107864/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to