dispatcher: fix use-after-free in complete_script()
authorThomas Haller <thaller@redhat.com>
Tue, 12 Jan 2016 15:06:21 +0000 (16:06 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 12 Jan 2016 15:24:38 +0000 (16:24 +0100)
commit2b54bd6a53b165f12b8eefe5232ea20cc9d3440c
tree457762212e93f04f40d60577ffd48c502595065d
parentddc6d97f00e81cd422bb4d48adcadff70018de0f
dispatcher: fix use-after-free in complete_script()

complete_request() possibly frees the request, making the @script and @request
a dangling pointer. We must not use those pointers, except a plain pointer-
comparison.
callouts/nm-dispatcher.c