commit | 0458b08a5a96be13d433319c6ac1fc20b698167b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 09:40:04 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 09:40:04 2015 +0200 |
tree | a5db868434c3038d546b2082812519177c3115e9 | |
parent | fca4261dacab51db960d30120f4bb4201f7e4a51 [diff] |
BUG/MEDIUM: lua: txn:done() still causes a segfault in TCP mode We must not dereference s->txn to get the channel, as it doesn't exist in TCP mode.
diff --git a/src/hlua.c b/src/hlua.c index b88f5e4..e98a28d 100644 --- a/src/hlua.c +++ b/src/hlua.c
@@ -3664,7 +3664,7 @@ channel_auto_close(oc); channel_shutr_now(oc); - htxn->s->txn->req.chn->analysers = 0; + ic->analysers = 0; WILL_LJMP(hlua_done(L)); return 0;