From: Andrey Volk Date: Wed, 23 Oct 2019 19:03:18 +0000 (+0400) Subject: [mod_verto] Ignore not just zero but negative frame size as well. X-Git-Tag: v1.10.2^2~85^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F72%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_verto] Ignore not just zero but negative frame size as well. --- diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index f7dba78ae7..efd76ac25c 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -1922,7 +1922,7 @@ static void client_run(jsock_t *jsock) int rem = 0; int dur = 0, j = 0; - if (!(size = atoi(p))) { + if ((size = atoi(p)) <= 0) { continue; }