{"id":2175795,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2175795/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20251218232255.3934258-1-trini@konsulko.com>","date":"2025-12-18T23:10:12","name":"[RFC,0/9] Update lzma to current version of LZMA SDK","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/1.0/people/65875/?format=json","name":"Tom Rini","email":"trini@konsulko.com"},"series":[{"id":485929,"url":"http://patchwork.ozlabs.org/api/1.0/series/485929/?format=json","date":"2025-12-18T23:10:12","name":"Update lzma to current version of LZMA SDK","version":1,"mbox":"http://patchwork.ozlabs.org/series/485929/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=ccLSo9f8;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"ccLSo9f8\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.com"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dXRY86Lxjz1xty\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 19 Dec 2025 10:23:08 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E2C00835B3;\n\tFri, 19 Dec 2025 00:23:04 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id 141F983642; Fri, 19 Dec 2025 00:23:03 +0100 (CET)","from mail-oi1-x234.google.com (mail-oi1-x234.google.com\n [IPv6:2607:f8b0:4864:20::234])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2DFDD83106\n for <u-boot@lists.denx.de>; Fri, 19 Dec 2025 00:23:00 +0100 (CET)","by mail-oi1-x234.google.com with SMTP id\n 5614622812f47-45391956bfcso915135b6e.3\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 15:23:00 -0800 (PST)","from bill-the-cat.. (fixed-189-203-103-235.totalplay.net.\n [189.203.103.235]) by smtp.gmail.com with ESMTPSA id\n 5614622812f47-457b3cc0928sm295333b6e.10.2025.12.18.15.22.58\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 18 Dec 2025 15:22:58 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1766100179; x=1766704979; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=+KC+cYhCZyUgUjfldUS0XrURl2C8yj+S9tCLFAkU0Zk=;\n b=ccLSo9f8JVvepXFBfQNh+K83IWEZwi0Q8wTouXhRFJSIeW9/X3Jg1v4QKBThgbWq1+\n zsYWXVffFeVCwlmRsWG7qGf3bemgzxtWfGbQvLwldawKL9tGMNv9CZw2/XkxyttBcj5q\n QYYE7MJFKzl6l5NMKy1QV6t0ePSCYZWP3vt6g=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1766100179; x=1766704979;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=+KC+cYhCZyUgUjfldUS0XrURl2C8yj+S9tCLFAkU0Zk=;\n b=C0EpYpxSGOhLUku6DuKkETVqeuvI0kaBARDb/GO59ml1UU7B3zkkKFa1JHXYrbmibo\n acs6jebpOX1wJWXRdq7j/UJEI5GVmCIRlSoiUBEvwGRP6RBsgXGFelqA9V4AV8xr+bPP\n 7PVUNhl/78hI8IZ57Rib3r94ifu4NlSOiMkYi7tw0lznl5zPWaLXZ9eDxNKQPk7GN9r4\n 5fTWNBvZVoULptQaWXdM0keKpjEGlCLutJyRMEa4nhOlu+TOCB1hVT4id3ZLBIap7Ke/\n aYmiVloDU1MOglYF/dY8z9ZgpkBTiz3E2bG4/rPAOqm3WjsxiwSVEvyEXM8nhFVHZAsU\n p5hQ==","X-Gm-Message-State":"AOJu0Yykkt+7u/olRM4LffGse43Lx+WOt7AMVwwcYIaz34wdDlCi4yQo\n 6nbi8PxLEfr+fx4d7wLiMiVdkAITUN0sRwKaBA/MjxphiA9M/GaoJ9GvozQaZ78g3LMl7UfJCgJ\n 2Ydfp2o0=","X-Gm-Gg":"AY/fxX4ZpaM8oPUS34WU7OOy06gdxYjGSvoW1jGY2QztcQ6tULRigUicKAnWpGgzjFq\n r3NPu2bg2ejvsnyJWOvvI6l0/fbVUP5KtuWRFCmOeQoUUzN2jm3ESEnDhMVLdmVkbyJQuSw0WjN\n 5bI8/V7Vhh2pyHRz5dZO7hXx63Dr6Bzuifbz3ID/qzjwALnc+njj+oVcx9tkDgLVM8e5YbRnlnV\n MtylFwzx3lxXt9n4+ZTDjo2gNl7ipJ1afF8scWCoetL0VyEAgRt49aq11ysKcBBt0MJtg9BWrVM\n DxqtM2uqwa0p4WOCBs1jnJ34BtjG6O6HQ+0RCvYy/H4gs+EKRQhwXWsseK/zXBiwlYrUBlqybm5\n 2kttA+bRSOfnQSb9ScHCMNZ2lq9DE/+h8R06fldcOgfVCAiXOhkhooFtxOaC/k8yAqyhR+9ZIwL\n 6cdf8x7CTBMYR8ubxKvuAdkAS4w7fzSybDzFXp408nFsMmxG02orJdtIFDeFCmlLg=","X-Google-Smtp-Source":"\n AGHT+IEZgbzb4OgjkfgOkwC/qok854DcJVSqW6GfoYtQe/YtjXVjgnNjZ4mtLf/xY19+6+5Mc6JUFg==","X-Received":"by 2002:a05:6808:c1b2:b0:450:c09:92aa with SMTP id\n 5614622812f47-457b20eb9c6mr677911b6e.12.1766100178893;\n Thu, 18 Dec 2025 15:22:58 -0800 (PST)","From":"Tom Rini <trini@konsulko.com>","To":"u-boot@lists.denx.de","Cc":"Darek <x64x6a@gmail.com>","Subject":"[RFC PATCH 0/9] Update lzma to current version of LZMA SDK","Date":"Thu, 18 Dec 2025 17:10:12 -0600","Message-ID":"<20251218232255.3934258-1-trini@konsulko.com>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"Hey all,\n\nA long while ago, Darek reported that our copy of the LZMA SDK library\nis quite old and so vulnerable to at least one possible security issue\nhe found that was fixed upstream.\n\nThis RFC series does a few things. First, we introduce a Kconfig option\nto enable LZMA's size reduction option, and enable it on\ngardena-smart-gateway-mt7688. This is not critical at the start, but is\nas we move forward. Next, we remove some files from our initial import\nof the library that do not make sense to keep in-tree. After that, the\nnext 5 patches update us from the imported version to the current\nrelease of 25.01. This is split up such that few have the very few\nplaces where the update requires some slight changes to our code be more\nvisible. This in turn is mainly that the file that says the license has\nchanged, and that we need to guard around some unused upstream code that\nalso conflicts with our own code. Finally, we restore the spacing\nchanges that our copy of the code had, and then improve things by adding\nSPDX tags to the LZMA code so the license is more visible overall.\n\nI've marked this as RFC in part because I plan to follow-up with v1\nshortly where patches 2 through 8 are squashed together as they're\nmainly separate right now for ease of review, but the split doesn't make\nsense I believe to preserve in git as our changes are so isolated.\n\nLink: https://lore.kernel.org/u-boot/CAC7rXdTb5u5pzP-mr_+pddCxzfcO8Vm_t-=_+5wxRitMjy6-JA@mail.gmail.com/"}