Files
xen/tools/libs
Julien Grall 0de212b030 libs/evtchn: Remove active handler on clean-up or failure
Commit 89d55473ed "xentoolcore_restrict_all:
Implement for libxenevtchn" added a call to register allowing to
restrict the event channel.

However, the call to deregister the handler was not performed if open
failed or when closing the event channel. This will result to corrupt
the list of handlers and potentially crash the application later one.

Fix it by calling xentoolcore_deregister_active_handle on failure and
closure.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
2017-11-14 13:54:29 +00:00
..
2017-10-11 15:03:01 +01:00
2017-10-11 15:03:01 +01:00
2017-10-11 15:03:01 +01:00