From b8ff3414c0da0f118f0b25cbe5773d345b41039f Mon Sep 17 00:00:00 2001 From: cfsmp3 Date: Mon, 14 Jul 2014 14:12:12 +0200 Subject: [PATCH] Fix is packet size, as reporte by Coverity --- src/708.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/708.c b/src/708.c index 70be9fe5..28ba4b87 100644 --- a/src/708.c +++ b/src/708.c @@ -1204,7 +1204,7 @@ void do_708 (const unsigned char *data, int datalength) process_current_packet(); if (cc_valid) { - if (current_packet_length>253) + if (current_packet_length>127) { dbg_print(CCX_DMT_708, "Warning: Legal packet size exceeded, data not added.\n"); }