[{"id":3675218,"web_url":"http://patchwork.ozlabs.org/comment/3675218/","msgid":"<87mrzco41v.fsf@prevas.dk>","list_archive_url":null,"date":"2026-04-09T09:50:52","subject":"Re: [PATCH v1 1/2] lib: hashtable: fix integer overflow in himport_r","submitter":{"id":89443,"url":"http://patchwork.ozlabs.org/api/people/89443/","name":"Rasmus Villemoes","email":"ravi@prevas.dk"},"content":"On Wed, Apr 08 2026, Aristo Chen <aristo.chen@canonical.com> wrote:\n\n> When size == SIZE_MAX, the expression malloc(size + 1) wraps to\n> malloc(0) due to unsigned integer overflow. malloc(0) may return a\n> non-NULL pointer, causing the subsequent memcpy(data, env, size) to\n> write SIZE_MAX bytes into a zero-byte allocation.\n>\n> This is reachable from the U-Boot console via \"env import\", where size\n> is taken directly from a user-supplied hex argument.\n>\n> Add an explicit check for SIZE_MAX before the malloc call and return\n> EINVAL.\n>\n> Signed-off-by: Aristo Chen <aristo.chen@canonical.com>\n> ---\n>  lib/hashtable.c | 7 +++++++\n>  1 file changed, 7 insertions(+)\n>\n> diff --git a/lib/hashtable.c b/lib/hashtable.c\n> index 75c263b5053..902fa6f3e98 100644\n> --- a/lib/hashtable.c\n> +++ b/lib/hashtable.c\n> @@ -820,6 +820,13 @@ int himport_r(struct hsearch_data *htab,\n>  \t\treturn 0;\n>  \t}\n>  \n> +\t/* Check for potential integer overflow */\n> +\tif (size == SIZE_MAX) {\n> +\t\tdebug(\"%s: size too large, would overflow\\n\", __func__);\n> +\t\t__set_errno(EINVAL);\n> +\t\treturn 0;\n> +\t}\n> +\n\nWell, you can corrupt arbitrary memory from the u-boot shell, so \"taken\ndirectly from a user-supplied hex argument\" is not really a very\ncompelling argument in the context of U-Boot.\n\nInstead of adding such ad hoc checks that mostly just increase code size\na little, I think it's better to zoom out and see what this really\ndoes. And this is ripe for adding a memdup_nul() helper (linux has that\nunder the name kmemdup_nul). If we add that, we can do the overflow\ncheck inside that in that one place, and we can convert a lot of similar\nusers all over the tree, and eliminate quite a lot of #loc.\n\nI'll try to write something.\n\nRasmus","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=prevas.dk header.i=@prevas.dk header.a=rsa-sha256\n header.s=selector1 header.b=GW9YEvX3;\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=reject dis=none) header.from=prevas.dk","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=prevas.dk header.i=@prevas.dk header.b=\"GW9YEvX3\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=prevas.dk","phobos.denx.de;\n spf=pass smtp.mailfrom=rasmus.villemoes@prevas.dk","dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=prevas.dk;"],"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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frwDQ6TGHz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 19:51:02 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 299F9839D5;\n\tThu,  9 Apr 2026 11:51:00 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 7B7B783D8A; Thu,  9 Apr 2026 11:50:59 +0200 (CEST)","from AM0PR83CU005.outbound.protection.outlook.com\n (mail-westeuropeazlp170100001.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c201::1])\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 65F4F83693\n for <u-boot@lists.denx.de>; Thu,  9 Apr 2026 11:50:57 +0200 (CEST)","from AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:681::18)\n by VI1PR10MB3200.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:803:130::16)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.18; Thu, 9 Apr\n 2026 09:50:54 +0000","from AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM\n ([fe80::ebc6:4e0d:5d6b:95d8]) by AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM\n ([fe80::ebc6:4e0d:5d6b:95d8%5]) with mapi id 15.20.9769.018; Thu, 9 Apr 2026\n 09:50:54 +0000"],"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_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=jjCqEqUnAZb/7VHGqv6bcW7n0mVbxwnyOzcn/CtzqHwwKdotfwRv7jml+oZPrVxPUboGMzZ7jRbhJydL8/7WQY7ZZbjetv3sjfkRytFnBaWaWWO/5w3E1cAUhlc/664+Z3gXKU01IdF+cZWIOsvnwo0lep5vvyAzcptxWl3ibOe5ivI+FgTZ8NAsH+JDd2DTU75a8x1UaILdN4czMPm9K67+SGmfQInIcyFmaOfY46Lh+28UyyNZn9Re5Gj883p4Mtv2C0GpNE0wlbyjz9tL2GCD2xWgrL6EYV4VZ9DQtdbRCmxfT5KGm+dKkpSodJ2DZcptbflDkTIUkp83jtsaJQ==","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=CZb7SgPQ+8QTFLFEYSW/FL+zQ3a64g77jZjPa8Di39c=;\n b=rXdFd/5jGyLyHUbSijxbsrgHn4Rk6DftWkFzExD+MMoNRSDB3RixsFDqZQN3A8cSAYiR3Qa6U0LZ9gI5EfNToWP3kkFXz+i8OJj5zVBjrZqIS37xRlqXCNv5NpN2S4ye5gCkmAlSr01qVivVmDaA1LIYVKCCZ5MmhYQMsvRHYtjru9mAuCjoNhmgnY8A9EQhNTRqCvpZmrKjaM/a1x8fYcU14vbL501rUDbpuRkfC1yJf74EpTOkcJmrx8yDcHRTeQqSJ1ckl4tDnzl4EnvAb21nsRvXmfb5hUChmSqUaWa8Q/qxpUuG0K0LkVGKh7BoedC7wxUdEY62jrpO+5Ersw==","ARC-Authentication-Results":"i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk;\n dkim=pass header.d=prevas.dk; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=CZb7SgPQ+8QTFLFEYSW/FL+zQ3a64g77jZjPa8Di39c=;\n b=GW9YEvX3kZiiJqvMXCZgZybJtu+HqiNANkBVq5b0lef+2qWT/yc7si/zi4w9zUmAz8cR2kxUiD7/epaNcbWgYZrJkCe8T28N+kFj/XOQopGR9xVbLHPY9CRDwDVZG+1Q3QhX7tIPw7aFOgAQswNy+tzuh/32WjUVw2TUQFMi87o=","From":"Rasmus Villemoes <ravi@prevas.dk>","To":"Aristo Chen <aristo.chen@canonical.com>","Cc":"u-boot@lists.denx.de,  Tom Rini <trini@konsulko.com>","Subject":"Re: [PATCH v1 1/2] lib: hashtable: fix integer overflow in himport_r","In-Reply-To":"<20260408140339.798015-1-aristo.chen@canonical.com> (Aristo\n Chen's message of \"Wed, 8 Apr 2026 14:03:35 +0000\")","References":"<20260408140339.798015-1-aristo.chen@canonical.com>","Date":"Thu, 09 Apr 2026 11:50:52 +0200","Message-ID":"<87mrzco41v.fsf@prevas.dk>","User-Agent":"Gnus/5.13 (Gnus v5.13)","Content-Type":"text/plain","X-ClientProxiedBy":"CPBP307CA0001.DNKP307.PROD.OUTLOOK.COM\n (2603:10a6:380:1::11) To AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM\n (2603:10a6:20b:681::18)","MIME-Version":"1.0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"AS5PR10MB8243:EE_|VI1PR10MB3200:EE_","X-MS-Office365-Filtering-Correlation-Id":"06dc2928-8579-492f-1168-08de961d7da2","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"BCL:0;\n ARA:13230040|1800799024|366016|376014|52116014|38350700014|18002099003|56012099003|22082099003;","X-Microsoft-Antispam-Message-Info":"\n c9c0eIrgvBkoOIOz7FUlhOBPVFASxkXZdumeCJTAX6yFzTJGa2rgzbIOP3R7Qe3ZiWKBgEs23asjPItbH+N0Un+0kFPwhXVXipYmU562o5asJ3j4QR2GshHxk7F7PfU00p8pDKRpUyGhoJDTdemVmGbCSe8stTEPE24R+gHACQIrFFhF9RA6w1raPTSKN/PDatVe5TpHQ0hzY2GvK5Qks3Kg741bHvab8hDOFcLAEQjS7EaFzECryYDXSDKQ2KCKTAZvyQPGaIqIZrm1K2+2U1Ft3AfVf41ovHlQbqz2guemx9M70RwUd6bqmccF2CJV2xqzTeSldWvWGE4FY9nJkit3DlVYc991R1GYWez9og79B4nVMqpnMYViNdrQbCF6k1oplLAh9Go+5rMoU+25NC+kxsaekoW1hSsE1rgEXJ/4Dpc5jwA8nhXyImgh8cquUZIgvqGnSBc2GQltKQ7JvSEeO7I5IDYeTsqGUDJwKOTLwAumdK5Yt6tAxsCkdte4bqT4eczjhi+ypNfwHlJabZ5S0YTyuJzGn4yNKsjdwBrGRC8iBZDm6R0qF9Kvb/HY0JgOXAyQ4B/BQRCNFyGLdAsguExc6SzB1VHt5NS52uNP15dIxMsb0yAoHidCWa6n7mOjbSinovsEDVfN0pq9haDtomJz0ui072McO1vS3558636jbK+g/4cmvgltAFgvzH75NSCrt4prrlzrU7PBFzgfvfiKPaqxSjWg+0mTwachRCZFweZ1JkrYpJ0Khsb1eSVlVK/apsoq2POx7QlW0EKTiYYzwhJ7seTAmVC8ZQc=","X-Forefront-Antispam-Report":"CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE;\n SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014)(18002099003)(56012099003)(22082099003);\n DIR:OUT; SFP:1101;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"\n UqOI2o+97lujZJ5+6ysY3rid/srdyWJpvKbEzLd94fos+i9sDgUCtx2IPltLLBEHT+zRbWYEnc6DRjAxGvA7Djb1vAHvcbEppHDWFtQJE3NEorBLwV2Fj+a2FePVC9IFqeb2NchWRIxggLQlrDmibgjlafyaf4b1/ymNXS708B+pGAvu5ZUYhwFj8C2Dwyx+tSZsPTKNj2phWZkPrRP19gmvG6GviZPFD5rdGQlCYihD3cB6B4bVZ4fsZGaDcN56anibYWZeRgWAgZy7iyKMvPHt+/kyLojcuL8Yz+rWJG8QLWmpfzTpYkUzRa5dtUMsvJCPibDqJb1wtVQEfa6XBz6EIiNynkK5fz7AkGfOYX8biJ5LC3R7lONAiahUKTCZHvsvx8c0qIsRXS5gNpEqTr2HM1VOq84EKpv0EToZP8KibCkRFaF38r76CZqzmuwfso2VGttHGS0ucmXM1XSB8ab3NRRUwwXkyaEtTMuaBLjahQ0w4y+hVxfjp9ova9ONN3h1tlSdZhRhUh+MsVSZCw9HCX6TfS84x8Fl0uDDCySYoDK+avcWxMxlWZl9FiMFRHCadlQx+Pad1HXYaAEB70+RaDzIp16nLi0A/wtSvCNvbH3lTuK2lQkhkOZ3flnKldLnzb3jrIM+3zg3uXIYHwF+p+MJ9bb8FLSWTXoyr7KgsZNgxT9eRlGlNmj+5PgTc8iUEGqqR+PLfjlsXWBTG5sw4nQtJ6Hyot6XbooV6MeosRHjG+egrIx8FHOEeSd8d3qCMsFqFpss4ruw3KuPk+E7wvML49a6kpghWmcJEbkLzJ9v5kEGK9ccw9qCuizsxIKgVvnrg674qQULBOHUo/K56MMZfroH5MgYoE3QiOxe8d5kdsxj5J5DJ1W6rsS2gbmKH2g5lIrD4c7fosaR2yLLlqe0EuV4dyjMs/QHR/PQgk+vpkFAHWVf+cZ5NJ510xldxjWDSNu9++9kisU1C64jrKVo0WBMOdDb8CNQbIPdKDBU/Nyvz+m+oIRJdL2KSkhdp34+6k+jQG7Kj2DYT3hGgyc8NzXMNYxVyuEs/hlRg8N72jO/kcgfZU/gB7A8XUf3tpCfanUiyKp6SZ9q/tYyJaxiWaxLCrxPtXu3Bb8/8cJTtGYFkYE61q/KFitBIUrEXmHcgZTLW5D2utFCnEU19jJNrhJRL9db8X6NrLTaXLPkDUqCHk4GBNH5Hsq793JlM844uWKmFuLmZaEJJlRizKSg1jKoa+sfaOMcqnNZzFtuUUcYnQqrL4O2by/1+tq5IFqtyfGg8SOaD46fQbGQTdoRJnG5v5vpjG8yueCbLiRah4qyunVUIHOTRiqKCx1lpLQ47IZolUgpYrs2OcJTTgsMWcavVgN6EAIktvUS1gTjdlVAucC+KaTll2FFQuUOlxP7Y7GGpDPQs9cgcctp7lmdfEqH0Zq4dHVheN5sgxHJx/MAVoNhJb3AZMErJOZ4MnLuXujWdbYuK/VKFWxeahL8Fz4uJQ1joiG7gmU1BdpF0bbRVjgSD0t39B9fPlGBuJw3X6kIPJ8F4WnFFYj7t2JMd7DHWmZnrZjWTY6e4Gs2tnAXPPml0x9mr3mH/IBs30LtwpiH6u8cYkkzVkm40Of/R8Qvk0DyIeIGClFOkFv3ez3qNQ9PIQ3Vl6Brpb8lsGgj4YOy3KJXO+YzIpNb92MbKY/XnIT6pe1oEpvKJnFS1Df40zrbGaUqGGhVUFZHPG4cZF31LNdL+hdM32srd70QYvoOj29qqt/2KJk=","X-OriginatorOrg":"prevas.dk","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 06dc2928-8579-492f-1168-08de961d7da2","X-MS-Exchange-CrossTenant-AuthSource":"AS5PR10MB8243.EURPRD10.PROD.OUTLOOK.COM","X-MS-Exchange-CrossTenant-AuthAs":"Internal","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"09 Apr 2026 09:50:54.1955 (UTC)","X-MS-Exchange-CrossTenant-FromEntityHeader":"Hosted","X-MS-Exchange-CrossTenant-Id":"d350cf71-778d-4780-88f5-071a4cb1ed61","X-MS-Exchange-CrossTenant-MailboxType":"HOSTED","X-MS-Exchange-CrossTenant-UserPrincipalName":"\n S5dQhduxKF+FQkPA1kKMl6uVBP2UgC+J4AteMB4VIpZE5EnbiJR1Zja7kktF0xMD3oc/0qWpgL+0jFKe6E1AVcN95hj8CJWsa4nuB/roBWU=","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"VI1PR10MB3200","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"}},{"id":3675305,"web_url":"http://patchwork.ozlabs.org/comment/3675305/","msgid":"<jwvfr55xsa7.fsf-monnier+gmane.comp.boot-loaders.u-boot@gnu.org>","list_archive_url":null,"date":"2026-04-08T17:47:59","subject":"Re: [PATCH v1 1/2] lib: hashtable: fix integer overflow in himport_r","submitter":{"id":3212,"url":"http://patchwork.ozlabs.org/api/people/3212/","name":"Stefan Monnier","email":"monnier@iro.umontreal.ca"},"content":"> +\t/* Check for potential integer overflow */\n> +\tif (size == SIZE_MAX) {\n> +\t\tdebug(\"%s: size too large, would overflow\\n\", __func__);\n> +\t\t__set_errno(EINVAL);\n> +\t\treturn 0;\n> +\t}\n> +\n>  \t/* we allocate new space to make sure we can write to the array */\n>  \tif ((data = malloc(size + 1)) == NULL) {\n>  \t\tdebug(\"himport_r: can't malloc %lu bytes\\n\", (ulong)size + 1);\n\nRather than depend on SIZE_MAX being the right boundary, can we do\na check along the lines of `size + 1 > size`?\n\n\n=== Stefan","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 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=fail (p=quarantine dis=none) header.from=iro.umontreal.ca","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de; dmarc=fail (p=quarantine dis=none)\n header.from=iro.umontreal.ca","phobos.denx.de; spf=pass\n smtp.mailfrom=gcbu-u-boot-users@m.gmane-mx.org"],"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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fs0S12hZFz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 23:01:21 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 9A52484118;\n\tThu,  9 Apr 2026 15:00:53 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 9A69183CF5; Wed,  8 Apr 2026 19:48:17 +0200 (CEST)","from ciao.gmane.io (ciao.gmane.io [116.202.254.214])\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 5C24E83693\n for <u-boot@lists.denx.de>; Wed,  8 Apr 2026 19:48:15 +0200 (CEST)","from list by ciao.gmane.io with local (Exim 4.92)\n (envelope-from <gcbu-u-boot-users@m.gmane-mx.org>)\n id 1wAX0e-0003xQ-2n\n for u-boot@lists.denx.de; Wed, 08 Apr 2026 19:48:12 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.6 required=5.0 tests=BAYES_00,\n HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2","X-Injected-Via-Gmane":"http://gmane.org/","To":"u-boot@lists.denx.de","From":"Stefan Monnier <monnier@iro.umontreal.ca>","Subject":"Re: [PATCH v1 1/2] lib: hashtable: fix integer overflow in himport_r","Date":"Wed, 08 Apr 2026 13:47:59 -0400","Message-ID":"<jwvfr55xsa7.fsf-monnier+gmane.comp.boot-loaders.u-boot@gnu.org>","References":"<20260408140339.798015-1-aristo.chen@canonical.com>","Mime-Version":"1.0","Content-Type":"text/plain","User-Agent":"Gnus/5.13 (Gnus v5.13)","Cancel-Lock":"sha1:nvPhJnCGivcZzT0rPesLvFb5prI=","X-Mailman-Approved-At":"Thu, 09 Apr 2026 15:00:51 +0200","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"}}]