diff options
author | mjl <mjl@pkgsrc.org> | 2007-07-19 09:39:57 +0000 |
---|---|---|
committer | mjl <mjl@pkgsrc.org> | 2007-07-19 09:39:57 +0000 |
commit | b4f03815b0dc7db09b10457163ddf25c2f8b43dd (patch) | |
tree | 1d42d22511a0374a0ff8e96d0b544b6eec50b025 /comms/asterisk/patches | |
parent | 7e3aed184e4179f6a7fe0a920ff295d49f970798 (diff) | |
download | pkgsrc-b4f03815b0dc7db09b10457163ddf25c2f8b43dd.tar.gz |
Update to 1.2.22
* channels/chan_skinny.c: Properly check for the length in the
skinny packet to prevent an invalid memcpy. (ASA-2007-016)
* channels/iax2-parser.h, channels/chan_iax2.c,
channels/iax2-parser.c: Ensure that when encoding the contents of
an ast_frame into an iax_frame, that the size of the destination
buffer is known in the iax_frame so that code won't write past
the end of the allocated buffer when sending outgoing frames.
(ASA-2007-014)
* channels/chan_iax2.c: After parsing information elements in IAX
frames, set the data length to zero, so that code later on does
not think it has data to copy. (ASA-2007-015)
* res/res_musiconhold.c: Fix a couple potential minor memory leaks.
load_moh_classes() could return without destroying the loaded
configuration.
* apps/app_chanspy.c: Fixed an issue where chanspy flags were
uninitialized if no options were passed.
* res/res_musiconhold.c: Ensure that adding a user to the list of
users of a specific music on hold class is not done at the same
time as any of the other operations on this list to prevent list
corruption.
* channels/chan_iax2.c: The function make_trunk() can fail and
return -1 instead of a valid new call number. Fix the uses of
this function to handle this instead of treating it as the new
call number. This would cause a deadlock and memory corruption.
* channels/chan_agent.c: The cli command "agent logoff Agent/x
soft" did not work...at all. Now it does.
* res/res_config_odbc.c: Make sure that the ESCAPE immediately
follows the condition that uses LIKE. This fixes realtime
extensions with ODBC.
* apps/app_queue.c: Fix an issue where it was possible to have a
service level of over 100% Between the time recalc_holdtime and
update_queue was called, it was possible that the call could have
been hungup.
* dns.c: Use res_ndestroy on systems that have it. Otherwise, use
res_nclose. This prevents a memleak on NetBSD - and possibly
others.
Diffstat (limited to 'comms/asterisk/patches')
-rw-r--r-- | comms/asterisk/patches/patch-ad | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/comms/asterisk/patches/patch-ad b/comms/asterisk/patches/patch-ad index 84f18b7d853..d7d2f81f3d9 100644 --- a/comms/asterisk/patches/patch-ad +++ b/comms/asterisk/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ +$NetBSD: patch-ad,v 1.7 2007/07/19 09:39:57 mjl Exp $ ---- channels/Makefile.orig 2007-03-26 12:21:56.000000000 +0200 -+++ channels/Makefile 2007-04-26 11:23:18.000000000 +0200 +--- channels/Makefile.orig 2007-07-11 19:15:11.000000000 +0200 ++++ channels/Makefile 2007-07-19 11:17:12.000000000 +0200 @@ -24,12 +24,13 @@ endif @@ -17,7 +17,7 @@ $NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ endif ifeq (${OSARCH},Linux) -@@ -76,43 +77,43 @@ +@@ -76,7 +77,7 @@ endif ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/ixjuser.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/ixjuser.h),) @@ -25,6 +25,10 @@ $NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ +# CHANNEL_LIBS+=chan_phone.so endif + ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/compiler.h),) +@@ -84,39 +85,39 @@ + endif + ifneq ($(wildcard h323/libchanh323.a),) - CHANNEL_LIBS+=chan_h323.so +# CHANNEL_LIBS+=chan_h323.so @@ -73,7 +77,7 @@ $NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ endif ifndef WITHOUT_ZAPTEL -@@ -128,10 +129,10 @@ +@@ -132,10 +133,10 @@ endif endif # WITHOUT_ZAPTEL @@ -88,7 +92,7 @@ $NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ CFLAGS+=-DCRYPTO -@@ -143,9 +144,9 @@ +@@ -147,9 +148,9 @@ ZAPDIR=/usr/lib @@ -101,7 +105,7 @@ $NetBSD: patch-ad,v 1.6 2007/04/26 09:43:15 mjl Exp $ ifndef OPENH323DIR OPENH323DIR=$(HOME)/openh323 -@@ -171,13 +172,13 @@ +@@ -175,13 +176,13 @@ include .depend endif |