[libpri-commits] branch 1.2 r360 - /branches/1.2/q931.c
libpri-commits at lists.digium.com
libpri-commits at lists.digium.com
Wed Jul 12 12:08:31 MST 2006
Author: russell
Date: Wed Jul 12 14:08:31 2006
New Revision: 360
URL: http://svn.digium.com/view/libpri?rev=360&view=rev
Log:
ensure buffer is initialized (issue #7512, klaus3000)
Modified:
branches/1.2/q931.c
Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?rev=360&r1=359&r2=360&view=diff
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Wed Jul 12 14:08:31 2006
@@ -1398,7 +1398,7 @@
{
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)) {
More information about the libpri-commits
mailing list