https://bugs.kde.org/show_bug.cgi?id=374940

--- Comment #3 from Julian Seward <jsew...@acm.org> ---
The libev code is incorrect and should be fixed.  It it violates the ABI.
The problem isn't that the memory is uninitialised.  It is that the
program isn't allowed to access below %esp at any time, for at least
the following reasons:

* a signal may get delivered at any time, in which case the signal
  handler's frame will overwrite the value at -1(%esp).

* since the kernel "knows" that programs may not access below %esp, it
  would be within its rights to unmap the page containing -1(%esp).
  If %esp pointed exactly to the bottom of a page then the access
  at -1(%esp) would cause an unexpected page (segmentation) fault.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to