From 0c533d20e6c22426ad8015f6568f373d9c8a5519 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 10 Jan 2022 19:57:31 +0000 Subject: [PATCH] [Minor] Arc: Do not fail if no AAR header is presented --- src/plugins/lua/arc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua index 30d9a6782..278798d65 100644 --- a/src/plugins/lua/arc.lua +++ b/src/plugins/lua/arc.lua @@ -220,7 +220,10 @@ local function arc_callback(task) parse_arc_header(arc_seal_headers, cbdata.seals, false) parse_arc_header(arc_sig_headers, cbdata.sigs, false) - parse_arc_header(arc_ar_headers, cbdata.ars, true) + + if arc_ar_headers then + parse_arc_header(arc_ar_headers, cbdata.ars, true) + end -- Fix i type fun.each(function(hdr) -- 2.39.5