Public bug reported:

Compiling some specific eC results in undefined behavior after memory has been 
corrupted.
The Specifier class in the eC compiler library contains a union whose members 
were used in alternate manner, without proper reinitialization.

[Test Case]
The eC compiler will crash or produce unexpected behavior when compiling some 
specific eC code [need to remember/dig that code out].

[Regression Potential]
This is a clean fix that simply re-initializes to all members of the union, so 
as to avoid the problem. It should not break anything.

** Affects: ecere-sdk (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  [SRU] Compiling some specific eC results in undefined behavior
  (corrupted memory)

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

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

Reply via email to