[asterisk-commits] igorg: branch 10 r339885 - in /branches/10: ./ channels/chan_unistim.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Oct 8 10:46:31 CDT 2011
Author: igorg
Date: Sat Oct 8 10:46:27 2011
New Revision: 339885
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=339885
Log:
Merged revisions 339884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r339884 | igorg | 2011-10-08 22:45:20 +0700 (Сбт, 08 Окт 2011) | 7 lines
Fix segfault in Unistim channel
(closes issue ASTERISK-18638)
Reported by: jonnt
........
Modified:
branches/10/ (props changed)
branches/10/channels/chan_unistim.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_unistim.c?view=diff&rev=339885&r1=339884&r2=339885
==============================================================================
--- branches/10/channels/chan_unistim.c (original)
+++ branches/10/channels/chan_unistim.c Sat Oct 8 10:46:27 2011
@@ -882,6 +882,7 @@
memcpy(&s->sin, addr_from, sizeof(struct sockaddr_in));
get_to_address(unistimsock, &s->sout);
+ sout.sin_family = AF_INET;
if (unistimdebug) {
ast_verb(0, "Creating a new entry for the phone from %s received via server ip %s\n",
ast_inet_ntoa(addr_from->sin_addr), ast_inet_ntoa(s->sout.sin_addr));
More information about the asterisk-commits
mailing list