From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0B8A11F5AE for ; Fri, 18 Jun 2021 16:08:20 +0000 (UTC) Received: from localhost ([::1]:32776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luH2Y-0005T4-Sg for normalperson@yhbt.net; Fri, 18 Jun 2021 12:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luGfj-0005tC-Rv for bug-gnulib@gnu.org; Fri, 18 Jun 2021 11:44:43 -0400 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:14598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luGfg-0001yj-AB for bug-gnulib@gnu.org; Fri, 18 Jun 2021 11:44:43 -0400 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IFasa0030680 for ; Fri, 18 Jun 2021 15:44:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-type : mime-version; s=corp-2020-01-29; bh=IZkp2iKnmB1PXYrsUaXIrbcEUdbJ9e2kz3KfDIsWth4=; b=z2RLCVjNjCMML+Dp+vZ7W7nQPMa9rspaC3I/xnoq0WkUOT04jMPI9YiPdw+ZeUUxpIOE Znf3a20ZAnyZKhEA899gwSXyShpLSTo/5pV1vHQrevma6pcZEZu7mYGgxVJuQtU1tbXl 9vlf3tPx1o6fVoyjmgnYF1of9MNBbcmS+V5XAOzKuO/xvjxSL7VqKTXR3u6BX8/bn4Qb oCWPgDGmu0K4uKw7qFa4tfc9m2hO5Ysf5hF1gA8zfE5tsD8g7LMhEYucYMn9r/9l2dMV N07hF03hw8XwoocttceFOkrlYp9wMYoFJSpmfwp0+Gtji0Rd7WrhAZd5cT+E4NPsnV/B gg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 398s5p8kha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 18 Jun 2021 15:44:35 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 15IFYxOh048732 for ; Fri, 18 Jun 2021 15:44:34 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by userp3030.oracle.com with ESMTP id 396warhrjc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 18 Jun 2021 15:44:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jk6e0RXd6mxkHd+5oIdqFJ8HJyKZYlX/28QxKwfMKD5v855X/dukLZAMXx5yxCdpPUBPSmRXeUAbCBryvHxTIJDznVYkDN1ftgGNKCdlVwr/oBJKaAHmR6MOodJTAKjv3BvAGcAE8iHHZXW/iXdc/L1W7GVYJ2c9THIB+4uHWM+maVend4HGUl6yyITf4gyYDINfopUhTMy+/rcX9GA0hQTtEN0ncWdeebpWWDjlusl8AnQoOPV4m6eW5iJo9c3XYd5Hb0KVtkLhfddq1e0DWnE8dFcucTvKa0x2T3bji0DqKf2seA3tVj2kfr1YFbnpnamKu9IPGaGAkjhaPXKvFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IZkp2iKnmB1PXYrsUaXIrbcEUdbJ9e2kz3KfDIsWth4=; b=N0STJuXBU6hk8IcktB8E+9saZmCBcd1F53fDYlQ9m8h7v3fJieGuSpmmsfA+Z2CW193tST57Mrzkzr8LcaCfPMNvImSJMmVSZNshQZBIbmGioUTLwkpJAImxwctAZFCdjhL5fsgsqigp3K9EATH9o+RR6tkyKUJ1xcms6LgmM7ARaXyFTNJgVxCMT+TqXG4adOryxjVY4iIRrE366CufwZDp5XBtR9zfsGPGNnyZaFp4ONfCY3ZzB0EF6+kHdL6YH6LtgBmLMXlKxW8RhR2FpzLExDkyCErHO1AJBqs0oxNcfN4hyuM4XTkv3eufer8qwPwpyBsZoJBqXq+4swJhFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IZkp2iKnmB1PXYrsUaXIrbcEUdbJ9e2kz3KfDIsWth4=; b=mEzFIvKsfmt/GktDqe8xXOq72H+d6Z4lxSWTpMzxKhdtmrpkJmrGWLaUYQ+b6qhYbnr/QDMH0zAzud/4uT/lYhxnU/qaDj7wCwJsOtO3COf53o5wptoNUX7WYx9JPZlgPmHzr+r1T07ynVX5mVH2oWZ0q5aK9neVA7GWHIuK/9k= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=oracle.com; Received: from PH0PR10MB4583.namprd10.prod.outlook.com (2603:10b6:510:43::6) by PH0PR10MB5401.namprd10.prod.outlook.com (2603:10b6:510:e8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Fri, 18 Jun 2021 15:44:30 +0000 Received: from PH0PR10MB4583.namprd10.prod.outlook.com ([fe80::587:a73:b6cf:3f50]) by PH0PR10MB4583.namprd10.prod.outlook.com ([fe80::587:a73:b6cf:3f50%5]) with mapi id 15.20.4242.021; Fri, 18 Jun 2021 15:44:30 +0000 From: Darren Kenny To: bug-gnulib@gnu.org Subject: [PATCH 0/3] Some Coverity fixes from GRUB Date: Fri, 18 Jun 2021 15:44:20 +0000 Message-Id: X-Mailer: git-send-email 2.18.4 Content-Type: text/plain X-Originating-IP: [141.143.213.44] X-ClientProxiedBy: BYAPR11CA0058.namprd11.prod.outlook.com (2603:10b6:a03:80::35) To PH0PR10MB4583.namprd10.prod.outlook.com (2603:10b6:510:43::6) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from darrenk-20201221-1634.osdevelopm1lhr.oraclevcn.com (141.143.213.44) by BYAPR11CA0058.namprd11.prod.outlook.com (2603:10b6:a03:80::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21 via Frontend Transport; Fri, 18 Jun 2021 15:44:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 26861e39-e3f1-4363-f6f8-08d9326ff620 X-MS-TrafficTypeDiagnostic: PH0PR10MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KB3N0VvlH1CjilhFRQmShqv0rhmuREtNWMYP3aZTUjitNHyg/jAI99IC1yVmSjfSDFb1z/HsNRC+iuPLDxVPMuEYt1Vv04EcYzQJoD+pTqyboHEHQxvMpcMwNiwDf7hQOE75/zOGiP2JHBNsurMfYlsQTgLtjwtKXumRBnnFtWZRdY8uqX5DMt68TOH8A/4Hjs3PJC6VcqW8tlxzG0RZfG3TLeOpSSLQLtfMBFLXJIPieNtnkBcvgMe+BSXRSx3TVSe/jhS0uBjqWqdlptMeNYW/+uJxqdHm3seQX2trNdb+6ufzi2phS8VfMJVj8oc9e++qx6QK+JfjdWjBSFNAQb7LjZWAmXkrIbs6/GTrxwcl/1gA9/Tel54lGf4nMqwUm+qSaqzDqQx6cdhqrmdg8KE+2TyAL+SEf8gOUvtRxGU2qAoF5iyO764ERD5YPcU9G3xRmpD7fQ6aJQccj77g75az++qjHV6UCoI70SJtFksqomUK9yLqNbch4jK9LdXhF9YA6mh6hX3RHT9aRhAKFlbIaZojK24/GKMBF5Xg/4nW0DCyolG0k9nsB9mu+ncz/YR203wIEdHaBjALq3WBMMP6rZFiLeOj2Hs3YvmxuHS/aQFqX5EJ36tD5cVCwvsriOqTWWBis7Kp8Am8epWIHJ5kYkdYW6faX1JBWt+5gto= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR10MB4583.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(376002)(39860400002)(396003)(346002)(366004)(83380400001)(4326008)(6666004)(38350700002)(38100700002)(478600001)(2616005)(16526019)(956004)(107886003)(4744005)(316002)(186003)(6506007)(5660300002)(26005)(6916009)(66476007)(66946007)(66556008)(36756003)(6486002)(86362001)(8676002)(44832011)(2906002)(6512007)(52116002)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?z1oBTxceYfQwu9vuUn3nGvyCsmjOoczKBfN5eKz/x/VqRMgRX7U6tpIR2R85?= =?us-ascii?Q?fILeO46J48xT+p/Y79wPFkTuVIRMCsPwCyTA7Mun4sv/n9WMIvzhl62mjP2e?= =?us-ascii?Q?iIeGZLhJiwC2MfT55zo6rF4GRNSd6sEczwXebtG/i1AqIEnCWRukto2tAMu6?= =?us-ascii?Q?+EkhC+FsNhUpWIzL1aoQe1PtYAENPxkiloZcT1Q3kgm0zyoztX08lVlRRsoQ?= =?us-ascii?Q?Ju0CrT0ObMbGpQ9JTmLm8YdjU1sMfGUYBMDA+SyUNE2IsziCdeIe8pbGXlDZ?= =?us-ascii?Q?/AP/eUvZSp1H4KVSdH1t8gptjJiWqFw9OmSYLwyzDpPuF5muASE+yNpW/+HR?= =?us-ascii?Q?F2ilWHo+FUUgsIMztify519Io7FiPV0xUpurkKV9y+B28yZa76TFSP5rBDIF?= =?us-ascii?Q?puR7zjMAE3VPNp1j1o5l/wqNGqrC9vICkB0ld0CJTDs9gfaXrPBa9+HmfJGe?= =?us-ascii?Q?9i7Mp3odzw6hdK3hBHChxulD7f46WBQsf5v2bM2i5fH6OYK3sDEAKNAJW803?= =?us-ascii?Q?zU32zORjYSdn6yxFJfE+jPHFuQ1FmaBVxcfqnJKoTneN5u+oqHn0aec97B4O?= =?us-ascii?Q?1HQe7TUrfAxBdsYcDoyIgBtckTXiqvxF7Oe+Un7CJs+HlJPWgidx2aUFhAin?= =?us-ascii?Q?K0/jW+qTPY744aBxJiFJ3wXX1Jnpi7fZt1y8OlFyGHK5tnyXM0suB0oGH0r+?= =?us-ascii?Q?0x3Pc3PWEqu/hO5Ywxz8wcus52mNlpFpJ2nib830jt1Vnq4lx/8GJR15/h18?= =?us-ascii?Q?0eQOtyxQYBQQQO5J7ttZGCZWq6vymPHlnv3YWO5IBXIl1gcHlcZCzsnz2Zb0?= =?us-ascii?Q?+c6fZrLL42sYZCr5mI5LWhkcrzviai43LuwytuP3SBj+gjYFriT1wEGuEg23?= =?us-ascii?Q?En/CUYi+o5wPWdKTFs/L2BWY60mLWy6njXBBdUQeXRQ5vcNYll9TJuHick3f?= =?us-ascii?Q?Mqclq/WPMJB/BLC5Fwlb0CGitKCd9s3a0L4WoogX4mbGuYp5kaTnzdKb677Z?= =?us-ascii?Q?FJpTeMu/ofq81dHR0Q5qK8F73uUL4OKPvbioEj8CtxySzCxCuyQs0Zozi8E9?= =?us-ascii?Q?Sbz4uC8lgEN7OrR4fK/L6LpW7BxUN/371ea68bNeI048z/kJpc0vpQAbWPNX?= =?us-ascii?Q?JHtyEdg96o4BkvvDfA89m50FkBJ3BKf5xp2HAi4OLBPr55/gNweiNmIp+0cB?= =?us-ascii?Q?RNmtEJXKc21V+10jyLlmMH8/nUJX2EZnw5puMO65o9BcQNpt+thPvWDeSL+T?= =?us-ascii?Q?2tWTG1BFertQViqk+wQCYZ1q7GH55x1qJkkssJ19OhzW+7GS255SZRqZZU5G?= =?us-ascii?Q?QlaskRKwIzu4rz8cabjFAtaA?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26861e39-e3f1-4363-f6f8-08d9326ff620 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB4583.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2021 15:44:30.3183 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6utR/o2u274ul5WCCQn6eYqSHh0Neb0aMdEx10JNr4e/hdALwM01JtKHmmO0su5BgrjRcmqiev2Ryk7VdiKvNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5401 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10019 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=999 spamscore=0 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180091 X-Proofpoint-GUID: Zc3ig3JAIApKlgs7eoFH27PrMsa_t_5w X-Proofpoint-ORIG-GUID: Zc3ig3JAIApKlgs7eoFH27PrMsa_t_5w Received-SPF: pass client-ip=205.220.177.32; envelope-from=darren.kenny@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 18 Jun 2021 12:01:42 -0400 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: darren.kenny@oracle.com Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" During the recent GRUB releases, I took a look at some Coverity issues that were found in the gnulib sources that GRUB is using as part of its build. A couple of these issues still exist in the current gnulib master branch so I've put the fixes for these together to in this patchset. I did a build using the command: ./gnulib-tool \ --with-tests \ --dir=/tmp/gnulib-test \ --test argp base64 error fnmatch getdelim \ getline gettext-h gitlog-to-changelog \ mbswidth progname realloc-gnu \ regex save-cwd which is fairly close to the list of modules that GRUB is using and there were not test failures. Thanks, Darren. Darren Kenny (3): lib/regexec: Fix possible null-dereference lib/argp-help: Fix possible dereference of a NULL state lib/regexec: Resolve unused variable lib/argp-help.c | 3 ++- lib/regexec.c | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.18.4