Changes

Jump to: navigation, search

Obj-C Exceptions In Gecko

89 bytes added, 14:00, 14 February 2008
no edit summary
See [https://bugzilla.mozilla.org/show_bug.cgi?id=163260 bug 163260].
 
This page is written for the people doing the original wrapping implementation for now.
The basic problem we have is that almost every call into Apple's framework (C or Obj-C) could potentially throw an Obj-C exception and unwind our stack with nasty consequences. Sometimes the browser crashes, sometimes it just appears to have lost its mind, and theoretically there could be security consequences. This is because we have no handlers in place now and as the stack unwinds code gets skipped and C++ temporary objects do not get their destructors run.
Confirm, emeritus
1,680
edits

Navigation menu