]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
mini-os: fix use-after-free in xs_daemon_close event iteration
authorMatthew Daley <mattjd@gmail.com>
Tue, 10 Sep 2013 14:34:19 +0000 (02:34 +1200)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 13 Sep 2013 12:14:51 +0000 (13:14 +0100)
commit5307cc892d66d39d80bf70f1284d827047285673
tree82a48e95488c901b167606905c4a0ab045ed0275
parente2e70e7e7c5aa918f2c61effeb2209f2d00a3edb
mini-os: fix use-after-free in xs_daemon_close event iteration

We need to get the next pointer before the freeing of the event.

Coverity-ID: 1056173
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
lib/xs.c