ensure buffer gets initialized (issue #7512, klaus3000)

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@359 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Russell Bryant 2006-07-12 19:04:12 +00:00
parent a24748c0f8
commit cd91dba660

2
q931.c
View File

@ -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)) {