From: Kevin P. Fleming Date: Tue, 1 Sep 2009 19:50:48 +0000 (+0000) Subject: Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly X-Git-Tag: 11.0.0-beta1~4279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf0076c5f3e29a2ceb9fec526081de8574d3195e;p=thirdparty%2Fasterisk.git Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly decoded. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215161 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/frame.c b/main/frame.c index ea902db8c9..7b8a3cc9fb 100644 --- a/main/frame.c +++ b/main/frame.c @@ -840,7 +840,7 @@ void ast_frame_dump(const char *name, struct ast_frame *f, char *prefix) strcpy(subclass, "Unhold"); break; case AST_CONTROL_T38_PARAMETERS: - if (f->datalen != sizeof(struct ast_control_t38_parameters *)) { + if (f->datalen != sizeof(struct ast_control_t38_parameters)) { message = "Invalid"; } else { struct ast_control_t38_parameters *parameters = f->data.ptr;