Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 04695A65E2 for ; Sat, 20 Jun 2015 18:22:59 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 7D8C214A206; Sat, 20 Jun 2015 18:22:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A758C14A202 for ; Sat, 20 Jun 2015 18:22:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id yPL4NA-Qb4dU for ; Sat, 20 Jun 2015 18:22:57 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 01EB814A1AF for ; Sat, 20 Jun 2015 18:22:57 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E9FD298; Sat, 20 Jun 2015 18:22:56 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 20 Jun 2015 18:22:56 +0000 From: "Alexander Nasonov" Subject: CVS commit: pkgsrc/lang/lua53 To: pkgsrc-changes@NetBSD.org Reply-To: alnsn@netbsd.org X-Mailer: log_accum Message-Id: <20150620182256.E9FD298@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: alnsn Date: Sat Jun 20 18:22:56 UTC 2015 Modified Files: pkgsrc/lang/lua53: PLIST distinfo version.mk Log Message: Update lang/lua53 to 5.3.1. The following bugs have been fixed (from http://www.lua.org/bugs.html): 1. string.format("%f") can cause a buffer overflow (only when 'lua_Number' is long double!). reported by Roberto on 13 Jan 2015. existed since 5.3. fixed in 5.3.1. 2. debug.getlocal on a coroutine suspended in a hook can crash the interpreter. reported by on 11 Feb 2015. existed since 5.2. fixed in 5.3.1. Example: See http://lua-users.org/lists/lua-l/2015-02/msg00146.html. 3. Suspended __le metamethod can give wrong result. reported by Eric Zhong on 07 Apr 2015. existed since 5.2. fixed in 5.3.1. Example: mt = {__le = function (a,b) coroutine.yield("yield"); return a.x <= b.x end} t1 = setmetatable({x=1}, mt) t2 = {x=2} co = coroutine.wrap(function (a,b) return t2 <= t1 end) co() print(co()) --> true (should be false) 4. Return hook may not see correct values for active local variables when function returns. reported by Philipp Janda and Peng Yi on 19 May 2015. existed since 5.0. fixed in 5.3.1. Example: See http://lua-users.org/lists/lua-l/2015-05/msg00376.html. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/PLIST \ pkgsrc/lang/lua53/distinfo pkgsrc/lang/lua53/version.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.