From cd91dba660876869ae1baf4d9d03a7dbe538bea5 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 12 Jul 2006 19:04:12 +0000 Subject: [PATCH] ensure buffer gets initialized (issue #7512, klaus3000) git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@359 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q931.c b/q931.c index e7760e9..cead4c5 100644 --- a/q931.c +++ b/q931.c @@ -1433,7 +1433,7 @@ static FUNC_DUMP(dump_display) { int x, y; char *buf = malloc(len + 1); - char tmp[80]; + char tmp[80] = ""; if (buf) { x=y=0; if ((x < ie->len) && (ie->data[x] & 0x80)) {