[asterisk-commits] mnicholson: branch 1.6.2 r213350 - in /branches/1.6.2: ./ main/features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 20 15:37:56 CDT 2009
Author: mnicholson
Date: Thu Aug 20 15:37:53 2009
New Revision: 213350
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213350
Log:
Merged revisions 213327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r213327 | mnicholson | 2009-08-20 15:29:32 -0500 (Thu, 20 Aug 2009) | 7 lines
Fix a crash by checking the proper pointer for validity before deferencing it.
(closes issue #15751)
Reported by: atis
Patches:
ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/main/features.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/main/features.c?view=diff&rev=213350&r1=213349&r2=213350
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Thu Aug 20 15:37:53 2009
@@ -2547,7 +2547,7 @@
is before the bridge's start time, so I added in the
tvcmp check to the if below */
- if (peer_cdr && !ast_tvzero(peer_cdr->answer) && ast_tvcmp(peer->cdr->answer, bridge_cdr->start) >= 0) {
+ if (peer_cdr && !ast_tvzero(peer_cdr->answer) && ast_tvcmp(peer_cdr->answer, bridge_cdr->start) >= 0) {
bridge_cdr->answer = peer_cdr->answer;
bridge_cdr->disposition = peer_cdr->disposition;
if (chan_cdr) {
More information about the asterisk-commits
mailing list