[asterisk-commits] murf: branch 1.6.1 r169674 - in /branches/1.6.1: ./ utils/refcounter.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 21 11:40:07 CST 2009
Author: murf
Date: Wed Jan 21 11:40:07 2009
New Revision: 169674
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169674
Log:
Merged revisions 169673 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r169673 | murf | 2009-01-21 10:21:40 -0700 (Wed, 21 Jan 2009) | 14 lines
This patch corrects a segfault reported in 14289,
due to a null ptr being refd.
Yes, seanbright is right in the bug comments, that is the fix.
Sorry for this oversight; I guess my personal
usage didn't have this happen!
murf
(closes issue #14289)
Reported by: jamesgolovich
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/utils/refcounter.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/utils/refcounter.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/utils/refcounter.c?view=diff&rev=169674&r1=169673&r2=169674
==============================================================================
--- branches/1.6.1/utils/refcounter.c (original)
+++ branches/1.6.1/utils/refcounter.c Wed Jan 21 11:40:07 2009
@@ -156,7 +156,7 @@
} else {
/* NO obj at ALL? -- better make one! */
if (*(t+1) != '=') {
- printf("BAD: object %x appears without previous allocation marker!\n", count1_obj->addr);
+ printf("BAD: object %x appears without previous allocation marker!\n", un);
}
curr_obj = count1_obj = alloc_obj(un, 1);
/* put it in the hashtable */
More information about the asterisk-commits
mailing list