[Asterisk-cvs] asterisk cdr.c,1.55,1.56
markster
markster
Thu Oct 27 18:05:11 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26890
Modified Files:
cdr.c
Log Message:
Fix CDR crash (bug #5525 and many others)
Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- cdr.c 26 Oct 2005 18:54:24 -0000 1.55
+++ cdr.c 27 Oct 2005 21:57:53 -0000 1.56
@@ -170,6 +170,7 @@
/* The varshead is unusable, volatile even, after the memcpy so we take care of that here */
memset(&newcdr->varshead, 0, sizeof(newcdr->varshead));
ast_cdr_copy_vars(newcdr, cdr);
+ newcdr->next = NULL;
return newcdr;
}
More information about the svn-commits
mailing list