r4935: fixed a bug where "c->status = xxx_handler(x);" could write to c after
authorAndrew Tridgell <tridge@samba.org>
Sun, 23 Jan 2005 00:51:20 +0000 (00:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:07 +0000 (13:09 -0500)
commit8eb0963c95bde4a8226f5d02ee0d8b478cf2dcc4
treec46970635b936853a56142f9288ba4d3c32080aa
parent8c504b22f096cbaa37e943a6497dc76f069f40de
r4935: fixed a bug where "c->status = xxx_handler(x);" could write to c after
it is freed. The problem is that the handler might complete the
request, and called the c->async.fn() async handler. That handler
might free the request handle.
(This used to be commit c4faceadc74e0849f6197ccbec9952f6c94f6176)
source4/libcli/composite/connect.c
source4/libcli/composite/loadfile.c
source4/libcli/composite/savefile.c