pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua51 SECURITY: Add a patch for CVE-2014-5461, ta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69170e50e391
branches:  trunk
changeset: 648893:69170e50e391
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Mar 22 17:20:24 2015 +0000

description:
SECURITY: Add a patch for CVE-2014-5461, taken from the Debian package.
Bump PKGREVISION.

diffstat:

 lang/lua51/Makefile                |   4 ++--
 lang/lua51/distinfo                |   3 ++-
 lang/lua51/patches/patch-src_ldo.c |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r a4993ef04367 -r 69170e50e391 lang/lua51/Makefile
--- a/lang/lua51/Makefile       Sun Mar 22 16:07:59 2015 +0000
+++ b/lang/lua51/Makefile       Sun Mar 22 17:20:24 2015 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2014/10/09 14:06:38 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2015/03/22 17:20:24 bsiegert Exp $
 
 DISTNAME=      lua-${LUA_VERSION}
 PKGNAME=       lua51-${LUA_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  http://www.lua.org/ftp/ \
                http://www.tecgraf.puc-rio.br/lua/ftp/
diff -r a4993ef04367 -r 69170e50e391 lang/lua51/distinfo
--- a/lang/lua51/distinfo       Sun Mar 22 16:07:59 2015 +0000
+++ b/lang/lua51/distinfo       Sun Mar 22 17:20:24 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2014/10/19 22:26:38 alnsn Exp $
+$NetBSD: distinfo,v 1.4 2015/03/22 17:20:24 bsiegert Exp $
 
 SHA1 (lua-5.1.5.tar.gz) = b3882111ad02ecc6b972f8c1241647905cb2e3fc
 RMD160 (lua-5.1.5.tar.gz) = b0c2234675335a8bf158a125b6778cf800c754a0
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 53e8e2693e3afa819079e253f212988a44357412
 SHA1 (patch-ac) = bd2348dcb273de09ddc09da906c93de6cc209c5c
 SHA1 (patch-etc_lua.pc) = 80a01ac1af362410407aff65b644e946e898b1ee
+SHA1 (patch-src_ldo.c) = 003e15eb594a89984213f3be5ca3a30750daabdb
diff -r a4993ef04367 -r 69170e50e391 lang/lua51/patches/patch-src_ldo.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/lua51/patches/patch-src_ldo.c        Sun Mar 22 17:20:24 2015 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_ldo.c,v 1.1 2015/03/22 17:20:24 bsiegert Exp $
+
+Patch for CVS-2014-5461, from Debian.
+--- src/ldo.c.orig     2015-03-22 17:11:01.000000000 +0000
++++ src/ldo.c
+@@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId fu
+     CallInfo *ci;
+     StkId st, base;
+     Proto *p = cl->p;
+-    luaD_checkstack(L, p->maxstacksize);
++    luaD_checkstack(L, p->maxstacksize + p->numparams);
+     func = restorestack(L, funcr);
+     if (!p->is_vararg) {  /* no varargs? */
+       base = func + 1;



Home | Main Index | Thread Index | Old Index