From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9A26554CE60; Tue, 25 Jul 2023 19:34:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9A26554CE60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1690302898; bh=n41cf46KVV5iObZFx1XBHNeIO0Rc79t1JIRyyl0kj/k=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=lrCzNHi2tpJZMyAPYD1sZ6AZrqGZMg0LAKmPlkmRnxMhWMK1p8XzyS63pAZvFdA3A XwYWwgzd6PjFXwiclIVS25vCOAB8YYM+c+AfGJe6GXtsd/bDqr4RxgfOQqr2d1RwhF 4A7pRhrOdrmwUBs3UtKd8dnyxEG+zr9chr3pLu4U= Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0072154C381 for ; Tue, 25 Jul 2023 19:34:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0072154C381 Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-4fbaef9871cso8776904e87.0 for ; Tue, 25 Jul 2023 09:34:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690302896; x=1690907696; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H1vl5n+kC/vGVYITk0Ybb1dW2Kjy651yPr73OtEXWTE=; b=kfbNKOMnIJS9RfR8nvs83MV1PdLCwCqMKIOigA2oSDBCkvRRdWoOgln9PMUUgRy7Vy oY7sJ09BxOAsIH3nUAgtPkWmOXynOFp57OBqmJ+7q+VfHuJJaLnyT0Dy/8akFXYZuIvi tW1uu/91JmKcpp9pGY8gMAZQObpt6P1KPnxpiumOWRNJA/zoTodcvbbhKSA8hN4pviHe 2CgqquMtrcEVQ9mw+Z2aDigXZ5eDw2CzffbCg8RvF7zz8RHn9Ez9Au/NwBH46xCkMxHu jcArAyUzAiVQ5tAnq5o0HclHpLVo026VUyqJT3GVY5FWIj6+ND34OrK35c2DNZ/KGkG+ V77Q== X-Gm-Message-State: ABy/qLY7gDllLRYidmDlZ9PABIUR8CtjbMvbJ4dU/OUQYXl92inrf1Eq l8NJxcKTWKuuSxi0ZzxWQWwr2pNcHUU= X-Google-Smtp-Source: APBJJlFd3V3vSR0C/M9dkSb+LulZbQL5tg6geZSDdiTVMuRH9GjTS8jdnX6ygJfTmSfvZpU9JB7Few== X-Received: by 2002:a19:6549:0:b0:4fd:bdf8:930d with SMTP id c9-20020a196549000000b004fdbdf8930dmr7429813lfj.22.1690302895825; Tue, 25 Jul 2023 09:34:55 -0700 (PDT) Received: from pony.mail.msk ([2a00:1148:b0ba:16:37e9:bf80:d77e:ff11]) by smtp.gmail.com with ESMTPSA id y6-20020ac255a6000000b004fbbf5db0a5sm2830098lfg.100.2023.07.25.09.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 09:34:55 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, Sergey Kaplun , max.kokryashkin@gmail.com Date: Tue, 25 Jul 2023 19:34:43 +0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] Fix embedded bytecode loader X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Tarantool PR: https://github.com/tarantool/tarantool/pull/8913 Related issue: https://github.com/LuaJIT/LuaJIT/issues/549 Branch: https://github.com/tarantool/luajit/tree/ligurio/lj-549-fix-embedded-bytecode-loader Mike Pall (2): Fix embedded bytecode loader. Followup fix for embedded bytecode loader. src/lj_bcread.c | 10 +- src/lj_lex.c | 7 + src/lj_lex.h | 1 + test/tarantool-c-tests/lj-549-lua_load.test.c | 146 ++++++++++++++++++ 4 files changed, 159 insertions(+), 5 deletions(-) create mode 100644 test/tarantool-c-tests/lj-549-lua_load.test.c -- 2.34.1