From: Jonathan Rose Date: Fri, 3 Feb 2012 16:22:31 +0000 (+0000) Subject: Fixes a segfault occuring when performing attended transfer with FAXOPT(gateway)=yes X-Git-Tag: 10.3.0-rc1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03297a67ddaabcf5249895858768e2fada9cc3d1;p=thirdparty%2Fasterisk.git Fixes a segfault occuring when performing attended transfer with FAXOPT(gateway)=yes (closes issue ASTERISK-19184) Reported by: Alexandr git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@353962 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_fax.c b/res/res_fax.c index b9655db213..ea6b6784ed 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -2891,7 +2891,6 @@ static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct if (!(details = find_details(chan))) { ast_log(LOG_ERROR, "no FAX session details found on chan %s for T.38 gateway session, odd\n", chan->name); ast_framehook_detach(chan, gateway->framehook); - details->gateway_id = -1; return f; } }