Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/asterisk/files/1.6.1: asterisk-1.6.1.6-lua-includes.patch
Date: Fri, 04 Sep 2009 06:43:01
Message-Id: E1MjXKF-0004TQ-Vh@stork.gentoo.org
1 chainsaw 09/09/04 11:51:31
2
3 Added: asterisk-1.6.1.6-lua-includes.patch
4 Log:
5 Version bump, security fix for IAX2 denial of service (AST-2009-006). Patch by Oskar Ellström to cope with non-standard LUA header location closes bug #283231 by Thomas Stein. Removing vulnerable 1.6 series ebuilds.
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-lua-includes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-lua-includes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-lua-includes.patch?rev=1.1&content-type=text/plain
13
14 Index: asterisk-1.6.1.6-lua-includes.patch
15 ===================================================================
16 diff -uNr asterisk-1.6.1.6.ORIG/pbx/pbx_lua.c asterisk-1.6.1.6/pbx/pbx_lua.c
17 --- asterisk-1.6.1.6.ORIG/pbx/pbx_lua.c 2009-09-04 12:13:44.000000000 +0100
18 +++ asterisk-1.6.1.6/pbx/pbx_lua.c 2009-09-04 12:14:05.000000000 +0100
19 @@ -42,9 +42,9 @@
20 #include "asterisk/paths.h"
21 #include "asterisk/hashtab.h"
22
23 -#include <lua5.1/lua.h>
24 -#include <lua5.1/lauxlib.h>
25 -#include <lua5.1/lualib.h>
26 +#include <lua.h>
27 +#include <lauxlib.h>
28 +#include <lualib.h>
29
30 static char *config = "extensions.lua";
31 static char *registrar = "pbx_lua";