Show a cover letter.

GET /api/covers/2041443/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2041443,
    "url": "http://patchwork.ozlabs.org/api/covers/2041443/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/20250203091203.47590-1-heinrich.schuchardt@canonical.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250203091203.47590-1-heinrich.schuchardt@canonical.com>",
    "list_archive_url": null,
    "date": "2025-02-03T09:11:58",
    "name": "[v3,0/4] net: use strnstr() for lwip_strnstr()",
    "submitter": {
        "id": 82181,
        "url": "http://patchwork.ozlabs.org/api/people/82181/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "heinrich.schuchardt@canonical.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/20250203091203.47590-1-heinrich.schuchardt@canonical.com/mbox/",
    "series": [
        {
            "id": 442578,
            "url": "http://patchwork.ozlabs.org/api/series/442578/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=442578",
            "date": "2025-02-03T09:11:58",
            "name": "net: use strnstr() for lwip_strnstr()",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/442578/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2041443/comments/",
    "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 (2048-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20210705 header.b=cLZfy+v5;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=canonical.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.b=\"cLZfy+v5\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=canonical.com",
            "phobos.denx.de; spf=pass\n smtp.mailfrom=heinrich.schuchardt@canonical.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Ymgk50Y1jz20J0\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  3 Feb 2025 20:12:13 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 0078E80568;\n\tMon,  3 Feb 2025 10:12:11 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 2035E80711; Mon,  3 Feb 2025 10:12:11 +0100 (CET)",
            "from smtp-relay-canonical-1.canonical.com\n (smtp-relay-canonical-1.canonical.com [185.125.188.121])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 0C400801DE\n for <u-boot@lists.denx.de>; Mon,  3 Feb 2025 10:12:09 +0100 (CET)",
            "from LT2ubnt.. (dynamic-046-114-108-254.46.114.pool.telefonica.de\n [46.114.108.254])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id AF6AF408DC;\n Mon,  3 Feb 2025 09:12:07 +0000 (UTC)"
        ],
        "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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20210705; t=1738573928;\n bh=k23VuwL6QfSM97EabNqzKUhMkrTGpDl64RcujoM8KJI=;\n h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=cLZfy+v5+kvIwW1FZ249SXkPhVN8K0ra3/oPc1/zlLUEyCMACv60MDNp6caxQQYSN\n 41ZLeHZYBnwHG+6KRHwZfrSC7kBcx2ZLDMnc/dOlO5vxivfevsxTfkhme/sRRGEdLU\n Uul5SGDnY4dH8VtNJ9WucQErb6rI2UNimMm2hMQJ6g5eNdzhtUVy6SHGQx3hGQWk2/\n LYS/Hpcg1W15cSrEZl5htq1z0eEA8QvBQl+4Uggfgm6b7pLD1Y2CcLx3/nzpBbWW+l\n qv77O2YG1wEdytLUhDKRtMxBU24DnpBo9UrksNf5YtR2D9kJNsYxpZvA6TwpK5wDxS\n Ey0/9qnJyFMnQ==",
        "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "To": "Jerome Forissier <jerome.forissier@linaro.org>",
        "Cc": "Tom Rini <trini@konsulko.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Simon Glass <sjg@chromium.org>, u-boot@lists.denx.de,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "Subject": "[PATCH v3 0/4] net: use strnstr() for lwip_strnstr()",
        "Date": "Mon,  3 Feb 2025 10:11:58 +0100",
        "Message-ID": "<20250203091203.47590-1-heinrich.schuchardt@canonical.com>",
        "X-Mailer": "git-send-email 2.47.1",
        "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": "Using strstr() instead of strnstr() creates a security concern.\n\n* Implement missing library function strnstr() and add unit tests.\n* Use it for lwIP.\n* Fix function find_option() which is used to find the TFTP blocksize.\n\nv3:\n\trename variable match to diff in find_option()\nv2:\n\tNew patch for find_option()\n\nHeinrich Schuchardt (4):\n  net: lwip: tftp: fix find_option()\n  lib: implement strnstr()\n  test: unit tests for strstr() and strnstr()\n  net: use strnstr() for lwip_strnstr()\n\n include/linux/string.h             |  3 ++\n lib/lwip/lwip/src/apps/tftp/tftp.c | 54 +++++++++++++++++++++++++-----\n lib/lwip/u-boot/arch/cc.h          |  2 +-\n lib/string.c                       | 49 ++++++++++++++++++---------\n test/lib/string.c                  | 40 ++++++++++++++++++++++\n 5 files changed, 123 insertions(+), 25 deletions(-)"
}