The Wayland frontend thunks allow exceptions to propagate (into C code)
Bug #1719477 reported by
Alan Griffiths
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Chris Halse Rogers |
Bug Description
For example,
The generated Surface has:
static void commit_thunk(struct wl_client*, struct wl_resource* resource)
{
auto me = static_
}
This calls C++ code that might throw, for example:
WaylandBuffer:
which contains
if (extensions-
{
}
Related branches
lp:~raof/mir/fewer-nasal-daemons
- Alan Griffiths: Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 1394 lines (+841/-82)5 files modifiedinclude/common/mir/log.h (+12/-1)
src/common/log.cpp (+35/-0)
src/protocol/wrapper_generator.cpp (+47/-19)
src/server/frontend/wayland/core_generated_interfaces.h (+734/-61)
src/server/frontend/wayland/wayland_connector.cpp (+13/-1)
Changed in mir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
Changed in mir: | |
status: | Triaged → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 1.0.0