mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 15:11:12 +00:00
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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@169674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -156,7 +156,7 @@ int main(int argc,char **argv)
|
|||||||
} else {
|
} else {
|
||||||
/* NO obj at ALL? -- better make one! */
|
/* NO obj at ALL? -- better make one! */
|
||||||
if (*(t+1) != '=') {
|
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);
|
curr_obj = count1_obj = alloc_obj(un, 1);
|
||||||
/* put it in the hashtable */
|
/* put it in the hashtable */
|
||||||
|
|||||||
Reference in New Issue
Block a user