Displaying 1 result from an estimated 1 matches for "ast_channel_pvt".
2003 Jul 08
0
Patch to fix some segfaults in Asterisk
...000 1.25
+++ channel.c 8 Jul 2003 10:48:13 -0000
@@ -279,8 +279,8 @@
return NULL;
PTHREAD_MUTEX_LOCK(&chlock);
tmp = malloc(sizeof(struct ast_channel));
- memset(tmp, 0, sizeof(struct ast_channel));
if (tmp) {
+ memset(tmp, 0, sizeof(struct ast_channel));
pvt = malloc(sizeof(struct ast_channel_pvt));
if (pvt) {
memset(pvt, 0, sizeof(struct ast_channel_pvt));
Index: frame.c
===================================================================
RCS file: /usr/cvsroot/asterisk/frame.c,v
retrieving revision 1.3
diff -u -r1.3 frame.c
--- frame.c 28 Jun 2003 16:40:02 -0000 1.3
+++ frame.c 8 Ju...