From 54d389e329a860add1f609508c676761521a8ad0 Mon Sep 17 00:00:00 2001 From: VilhoRaatikka Date: Sat, 1 Nov 2014 21:16:03 +0200 Subject: [PATCH] Fix to Coverity issue 72733 --- server/modules/routing/debugcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/debugcmd.c b/server/modules/routing/debugcmd.c index 65384bfc6..8eab8c80e 100644 --- a/server/modules/routing/debugcmd.c +++ b/server/modules/routing/debugcmd.c @@ -631,7 +631,7 @@ char *ptr, *lptr; else { i++; - if (i >= MAXARGS) + if (i >= MAXARGS-1) break; args[i] = ptr + 1; }