This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fixing SEH exceptions for languages != C++


Hello Jonathan,

2014-02-20 20:19 GMT+01:00 Jonathan Schleifer <js@webkeks.org>:
> There is also definitely a use-after-free if you call _Unwind_DeleteException in your personality before returning _URC_INSTALL_CONTEXT (which you should, if you don't want to leak and your landing pad doesn't call it). I'm not sure though how to fix it. It seems the problem that register 0 is ignored is present throughout the whole file and it seems that a proper fix gets a little bit more complicated.
>
> --
> Jonathan

Sorry for replying a bit late to your thread.  For current stage of
gcc further changes in this area need to be postponed.
The use-after-free issue you mention is for sure something we should
address in upcoming stage 1. So you are welcome to work on this area.
You might want to make already your papers with fsf, as they are
required for further contributions to gcc.

Regards,
Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]