get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2230121/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2230121,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230121/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260429093615.3993498-3-kanak.shilledar@axis.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260429093615.3993498-3-kanak.shilledar@axis.com>",
    "date": "2026-04-29T09:36:15",
    "name": "[v3,1/1] support: kconfig: Fix compiler warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5ee7f6a7b01c492db61b1da96baf71b62141c543",
    "submitter": {
        "id": 93250,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93250/?format=api",
        "name": "Kanak Shilledar",
        "email": "kanak.shilledar@axis.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260429093615.3993498-3-kanak.shilledar@axis.com/mbox/",
    "series": [
        {
            "id": 502026,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502026/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=502026",
            "date": "2026-04-29T09:36:14",
            "name": "support: kconfig: Fix compiler warnings",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/502026/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230121/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230121/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=aw44op9t;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\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 4g5Byt21lrz1xqf\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 29 Apr 2026 19:36:54 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 4A8AF83E8E;\n\tWed, 29 Apr 2026 09:36:52 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id td5UskBcUDHc; Wed, 29 Apr 2026 09:36:50 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 0A2D683E8F;\n\tWed, 29 Apr 2026 09:36:50 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id EA49D231\n for <buildroot@buildroot.org>; Wed, 29 Apr 2026 09:36:48 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id DBCBC83E8E\n for <buildroot@buildroot.org>; Wed, 29 Apr 2026 09:36:48 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 9hFhYqorsofY for <buildroot@buildroot.org>;\n Wed, 29 Apr 2026 09:36:48 +0000 (UTC)",
            "from PA4PR04CU001.outbound.protection.outlook.com\n (mail-francecentralazlp170130007.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c20a::7])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 1FF9083E8A\n for <buildroot@buildroot.org>; Wed, 29 Apr 2026 09:36:48 +0000 (UTC)",
            "from CWLP265CA0386.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:1d6::19)\n by VI1PR02MB6144.eurprd02.prod.outlook.com (2603:10a6:800:186::19)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.20; Wed, 29 Apr\n 2026 09:36:41 +0000",
            "from AM4PEPF00027A60.eurprd04.prod.outlook.com\n (2603:10a6:400:1d6:cafe::5a) by CWLP265CA0386.outlook.office365.com\n (2603:10a6:400:1d6::19) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9846.26 via Frontend Transport; Wed,\n 29 Apr 2026 09:36:41 +0000",
            "from mail.axis.com (195.60.68.100) by\n AM4PEPF00027A60.mail.protection.outlook.com (10.167.16.68) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9846.18 via Frontend Transport; Wed, 29 Apr 2026 09:36:40 +0000",
            "from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail10w.axis.com\n (10.20.40.10) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.39; Wed, 29 Apr\n 2026 11:36:40 +0200",
            "from se-mail10w.axis.com (10.20.40.10) by SE-MAILARCH01W.axis.com\n (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.61; Wed, 29 Apr\n 2026 11:36:40 +0200",
            "from se-intmail02x.se.axis.com (10.4.0.28) by se-mail10w.axis.com\n (10.20.40.10) with Microsoft SMTP Server id 15.2.1748.39 via Frontend\n Transport; Wed, 29 Apr 2026 11:36:40 +0200",
            "from pc66231-2602.sto.se.axis.com (pc66231-2602.sto.se.axis.com\n [10.133.4.42])\n by se-intmail02x.se.axis.com (Postfix) with ESMTP id 561B2A82;\n Wed, 29 Apr 2026 11:36:40 +0200 (CEST)",
            "by pc66231-2602.sto.se.axis.com (Postfix, from userid 21940)\n id 4B8B4305D2A6; Wed, 29 Apr 2026 11:36:40 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0A2D683E8F",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1FF9083E8A"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777455410;\n\tbh=GN8pCUn4ogTa1IDdLJOIUvNOfa5sVOo0xNL5Qid+PhU=;\n\th=From:To:CC:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=aw44op9tYGnQyMBBXHttuJHxvB25YkG8AL0da0jnsAZBgal8n/mI2xZzbwyImuwr3\n\t sXpp1fnaoUHxsHprpO9GlWzGA5zSwDqwISZMFJDCoiCXns6/d2pKI/aAd6/LeIZHnl\n\t Wepw6CIFoaPc9awHDIlRvT/8GMdFaH/cq+XRoNgFzqmfKnAtX7rbHAAk406oIttYeC\n\t uJJiarOyJOmGZLQdPQu0STWerNp/ComS7IGJIUkacUqzw7zVw3Y2oLMKDH8im12Pwr\n\t 8nkZzrME+UssgH0ihnJZWsXuVaBk9tCS2G53ydeCScKxdgTJnLTyN9bQxkE5fli82Y\n\t iKOFecBlk4+yw==",
        "Received-SPF": [
            "Pass (mailfrom) identity=mailfrom;\n client-ip=2a01:111:f403:c20a::7;\n helo=pa4pr04cu001.outbound.protection.outlook.com;\n envelope-from=kanak.shilledar@axis.com; receiver=<UNKNOWN>",
            "Pass (protection.outlook.com: domain of axis.com designates\n 195.60.68.100 as permitted sender) receiver=protection.outlook.com;\n client-ip=195.60.68.100; helo=mail.axis.com; pr=C"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 1FF9083E8A",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=HZ4m/+s2zWirb0slCUVsCc4GDixmG6zP43sDVOsuFhx8p8uOO+FEG/Kph1oLCrnPeShZz3d9pUllbejK0RWu82T9V72Urbat7trnx1Nw3E56giClvsEjMp7MvN8gk1RuKatL31nlw9MkbX4+5PMMEodbv/3BIYKOoPRMHo3+Qoyw+2ObQpR9Giq1qqrgc6DZRDDeu1N5ozBREbSQIT0t+R15gdgco4WDFzA280UpRF1zJgBgmPkYc5lP8tf/JvLkLwi1+SxqW1OCJdUPbWHKZqQdHNcIw4vI9zHXelvM3Z6SLoRbTYcRADPVi6RSjhjdYFPoTPtJhDGE92ApfoxKXQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=vkmmk4qjBBkv+j7B/uP22wqQe+QdsLVA+QR7JSijiGc=;\n b=P/1PqzehsWzT7J+24mOIUIhbU1Yn8RRLiyvAg6A6CXLcmmvyHiTo3jgVAYDQhqBFAjJscuKOE9mT/t6r2TlT83I3RfyUih/kqdFkvCHrn8JxXZ27UbEFcVjhtuDwBgz08US0V4r1h9j/kYaZyj5MiZLgCUcYXltOzHA/sceSJmi3pNa00lT5ppI0Py3OV142k4L5ZwG59LUe16Mib1Za9uwYRpQJkIZ9/0labjuTV4eQQJoK5JYmL1tkyJW+GGr/71amOWthkxrMFoDQSndHDp8RpoCGgmFAhY9aLzFY3nhA9pmc6WfExmUjH1j1oLVETebHOeblDwM7A97CnPfphA==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 195.60.68.100) smtp.rcpttodomain=buildroot.org smtp.mailfrom=axis.com;\n dmarc=pass (p=none sp=none pct=100) action=none header.from=axis.com;\n dkim=none (message not signed); arc=none (0)",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 195.60.68.100)\n smtp.mailfrom=axis.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=axis.com;",
        "From": "Kanak Shilledar <kanak.shilledar@axis.com>",
        "To": "<buildroot@buildroot.org>",
        "CC": "Kanak Shilledar <kanak.shilledar@axis.com>, Petr Vorel\n <petr.vorel@gmail.com>",
        "Date": "Wed, 29 Apr 2026 11:36:15 +0200",
        "Message-ID": "<20260429093615.3993498-3-kanak.shilledar@axis.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260429093615.3993498-2-kanak.shilledar@axis.com>",
        "References": "<20260429093615.3993498-2-kanak.shilledar@axis.com>",
        "MIME-Version": "1.0",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "AM4PEPF00027A60:EE_|VI1PR02MB6144:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "a2c9b8ed-194e-4e28-d465-08dea5d2d170",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|82310400026|36860700016|376014|1800799024|56012099003|18002099003|22082099003;",
        "X-Microsoft-Antispam-Message-Info": "\n jF/3DIxje0gPgTSMMF6mE+9ezAL5+EPaw1E6fL0mLEpi5jEIDBo+lfWT584+DiuwZ9ZAQtmBBDF0gBrtzFvqbSRiaXSaGfMXXltagvtTBDG65A8F/pgZIazvtaI4mPisxflPDHgX81VncBMHfyREK6cx39BCrdBW/UqNTbw2c9O8qC1UDAbZ63soYZpcop8+ctYosNoxwl+TnGukLcVaVzaoJH6kToeZcxF6cLrsJSShQOCYo8uLflc2NGwJSG7flZZ77M6hjElpm8wfoiv+CNd95Oh1wClg8S8tWbkV2ascnWLh4cUlnZp0TpS1EBQ6jP7RGFx93Ale2u1Eifl1m+mPDM2EUDn6h69Q0LPU4Nv7kYyBCDbFEkHH7YTr/3Nyr5XV0yed9LiNCXYtc9YffjWXMqwPvDBQ6+q0zQ9HhctsEwbVE9ZPz6Z96IHNpy48YSj3l88rB3m6ACBzR+zm2CyxpNyQhFkfGug5d6Ooh2s79XSZjl4+Dt5x6fCo3EBa3y+Lzqsg4s1YiOwXrXSzmbogvp3bzG5LyQ8klP9vbxixtKn9qtrcvVOMvn57SWQ8sydNtgVsQSO9VTvlpZ/sd3jJhFE7RVtukNg6pKbVSGngcAPzH1pFucSiLD0gz7MMJi3R/ApKzZ8LOOzXqGukysom7J7/85VpcXz93IFBRGx0NFgd9F05Bwy1TShGyRY94ogLcSSPrYSZU1ty/tNJto3tj0gUYCb/nM6VyAgXdAINLGLYd1IKi6hm7L2733gGbtCRKyXMuXpkSqOlHBb/sA==",
        "X-Forefront-Antispam-Report": "CIP:195.60.68.100; CTRY:SE; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:mail.axis.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(82310400026)(36860700016)(376014)(1800799024)(56012099003)(18002099003)(22082099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n waZ5cjH7R/6QymfgyKgovNhd4UkUeFQauFGc56j4cCHKd0clxGi+ygBbDxjRojXP2ZwEZZwyqgxJkUckCVZlfiUf6i7MbZyg8t5KcEtkjk6C8AzfxmxQ2IIagqvM++XFuvHWyd0QYdGai9GXNk+1G9ndZE+RfgX17FPdgfETGF71QrHhPagGCm9RwGE3UOZ7r+xr0pLgvBn5cJ6+uNnxJ9kwNMpFIW9r780nQDhqMNMV11SarjZTmdtj35u2BaKHnQKtyhH2qkbws8eTzwZwjSQgWCHmBaSUw0S8mP2AfO2de80PGtzD3LhReQPO7/HBhEocGKn5ZJ2T7rlMni8kBT9aQNJfc+zhiScXQOdJrPYstfG0RSxzgUEHmPUo93c7h71v9SSOJckn5SdvjmWo0rLH5joSRG6cXocCkBjf4cTvZ9aVsoAHN/lJxCjBD05k",
        "X-OriginatorOrg": "axis.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Apr 2026 09:36:40.8349 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n a2c9b8ed-194e-4e28-d465-08dea5d2d170",
        "X-MS-Exchange-CrossTenant-Id": "78703d3c-b907-432f-b066-88f7af9ca3af",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=78703d3c-b907-432f-b066-88f7af9ca3af; Ip=[195.60.68.100];\n Helo=[mail.axis.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n AM4PEPF00027A60.eurprd04.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR02MB6144",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=axis.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=vkmmk4qjBBkv+j7B/uP22wqQe+QdsLVA+QR7JSijiGc=;\n b=HZmuShsUfayyhEulE9mDjRuzAG68G//iat6hWqEX96REMuOZTeeUF/+yFmEiNHSyiJTQGfXMdE9XJB7QoVauFdBTSnc/IGGDb5FdpV21CQFWh2uEPe1LcgnGprf7/b5z6iJo8WJ849+5BRdjr8NGjpfphCeobu6PDtQTaifoB5Q=",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=axis.com",
            "smtp1.osuosl.org;\n dkim=pass (1024-bit key,\n unprotected) header.d=axis.com header.i=@axis.com header.a=rsa-sha256\n header.s=selector1 header.b=HZmuShsU"
        ],
        "Subject": "[Buildroot] [PATCH v3 1/1] support: kconfig: Fix compiler warnings",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Add a new patch to fix the compiler warning given on Ubuntu 24.04.4 in\n`util.c` warning of `-Wformat-overflow=`.\n\n```\n./util.c: In function ‘file_write_dep’:\n./util.c:86:26: warning: ‘%s’ directive writing 10 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]\n   86 |         sprintf(buf2, \"%s%s\", dir, name);\n      |                          ^~\n./util.c:86:9: note: ‘sprintf’ output 11 or more bytes (assuming 4107) into a destination of size 4097\n   86 |         sprintf(buf2, \"%s%s\", dir, name);\n      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n\nUpdate `buf2` to `PATH_MAX+20` similar to `buf`, thus giving enough\nheadroom for the filename suffix.\n\n--\nChanges in v3:\n* Updated the commit message\n* Generated the patch using `git format-patch`, and added to the\n  `series`.\n\n--\nChanges in v2:\n* Changed from direct file fix to patch based fix.\n\nSigned-off-by: Kanak Shilledar <kanak.shilledar@axis.com>\n---\n ...upport-kconfig-Fix-compiler-warnings.patch | 45 +++++++++++++++++++\n support/kconfig/patches/series                |  1 +\n 2 files changed, 46 insertions(+)\n create mode 100644 support/kconfig/patches/24-support-kconfig-Fix-compiler-warnings.patch",
    "diff": "diff --git a/support/kconfig/patches/24-support-kconfig-Fix-compiler-warnings.patch b/support/kconfig/patches/24-support-kconfig-Fix-compiler-warnings.patch\nnew file mode 100644\nindex 0000000000..4c76274123\n--- /dev/null\n+++ b/support/kconfig/patches/24-support-kconfig-Fix-compiler-warnings.patch\n@@ -0,0 +1,45 @@\n+From 392624743e7166a056474cd83b18743409d2556c Mon Sep 17 00:00:00 2001\n+From: Kanak Shilledar <kanak.shilledar@axis.com>\n+Date: Fri, 24 Apr 2026 13:32:36 +0200\n+Subject: [PATCH] support: kconfig: Fix compiler warnings\n+MIME-Version: 1.0\n+Content-Type: text/plain; charset=UTF-8\n+Content-Transfer-Encoding: 8bit\n+\n+On Ubuntu 24.04.4, the compiler gives the warning of\n+`-Wformat-overflow=`.\n+\n+```\n+./util.c: In function ‘file_write_dep’:\n+./util.c:86:26: warning: ‘%s’ directive writing 10 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]\n+   86 |         sprintf(buf2, \"%s%s\", dir, name);\n+      |                          ^~\n+./util.c:86:9: note: ‘sprintf’ output 11 or more bytes (assuming 4107) into a destination of size 4097\n+   86 |         sprintf(buf2, \"%s%s\", dir, name);\n+      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+```\n+\n+Update `buf2` to `PATH_MAX+20` similar to `buf`, thus giving enough\n+headroom for the filename suffix.\n+\n+Signed-off-by: Kanak Shilledar <kanak.shilledar@axis.com>\n+---\n+ support/kconfig/util.c | 2 +-\n+ 1 file changed, 1 insertion(+), 1 deletion(-)\n+\n+diff --git a/support/kconfig/util.c b/support/kconfig/util.c\n+index 8665f5bb89..c2e7979ac1 100644\n+--- a/support/kconfig/util.c\n++++ b/support/kconfig/util.c\n+@@ -35,7 +35,7 @@ struct file *file_lookup(const char *name)\n+ int file_write_dep(const char *name)\n+ {\n+ \tchar *str;\n+-\tchar buf[PATH_MAX+20], buf2[PATH_MAX+1], dir[PATH_MAX+1];\n++\tchar buf[PATH_MAX+20], buf2[PATH_MAX+20], dir[PATH_MAX+1];\n+ \tstruct symbol *sym, *env_sym;\n+ \tstruct expr *e;\n+ \tstruct file *file;\n+-- \n+2.43.0\n+\ndiff --git a/support/kconfig/patches/series b/support/kconfig/patches/series\nindex cc176035be..ca2193e734 100644\n--- a/support/kconfig/patches/series\n+++ b/support/kconfig/patches/series\n@@ -12,3 +12,4 @@\n 21-Avoid-false-positive-matches-from-comment-lines.patch\n 22-kconfig-lxdialog-fix-check-with-GCC14.patch\n 23-kconfig-mn-conf-handle-backspace-H-key.patch\n+24-support-kconfig-Fix-compiler-warnings.patch\n",
    "prefixes": [
        "v3",
        "1/1"
    ]
}