Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D853C44525 for ; Wed, 21 Jan 2026 13:36:05 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1209776.1521692 (Exim 4.92) (envelope-from ) id 1viYNA-0006SR-HT; Wed, 21 Jan 2026 13:35:48 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1209776.1521692; Wed, 21 Jan 2026 13:35:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1viYNA-0006SK-E5; Wed, 21 Jan 2026 13:35:48 +0000 Received: by outflank-mailman (input) for mailman id 1209776; Wed, 21 Jan 2026 13:35:46 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1viYN8-0006SE-Tf for xen-devel@lists.xenproject.org; Wed, 21 Jan 2026 13:35:46 +0000 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [2a00:1450:4864:20::343]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 15ce69a8-f6ce-11f0-9ccf-f158ae23cfc8; Wed, 21 Jan 2026 14:35:44 +0100 (CET) Received: by mail-wm1-x343.google.com with SMTP id 5b1f17b1804b1-47ee76e8656so78433375e9.0 for ; Wed, 21 Jan 2026 05:35:44 -0800 (PST) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-480424b18cesm22965855e9.4.2026.01.21.05.35.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jan 2026 05:35:43 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 15ce69a8-f6ce-11f0-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1769002544; x=1769607344; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=yQovsb7SCNmMa5eCw3inpi109iAlgBpcsjpnhwrrQAk=; b=bG/xsU2StOraR6lI0GsaHnEFsIrlAu9y48OK2v0G8G/poO3aUodlk+V8xa2Ho116Gs ruTfBqjjTbmpv9LtB4aAGMmZ2EaBraVqSYLcTqm/SojS7CqMQsxS3k3BTi4gwN96XViR LxiU5niCp5yJ/zoJjtVmgYvL14R/Ull81Kc/hsTwvYdDdc8aHisAzSPxkMnk7v2fYOWp Hm8s5pGmTtLU0/7t1TNfVfidD4+JXKovT82tY6ZM2gQrT6xB7bPH9kaCEg/lR8bMUy0g lO/EHEjt76g+O7/pLgws5vU74nLPFfslNznpxA4/r7yOpK/ptxSCvOM9NEf978ue4Chp SzKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769002544; x=1769607344; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yQovsb7SCNmMa5eCw3inpi109iAlgBpcsjpnhwrrQAk=; b=ND10IhlEqoH3qY+b88xtV5d1MVdUeR44ZlIrPZPVxe4vp5Zrk8r5uz2Dku1d26psgL 2RDGHTdQPoG+f4WpJWqlucFOBstQVJGe7MCba/qk3vopdwk8jS0fSuldT5x9BxFA6IKF bGGdAstaHhSRvhYB4ZVTAMiHfRWSpI+UO2i8kR1P+OZAAG3JuK83BLiKup0ebrsLLSt7 nJrYZKCFHRBjLBecSiu0MRU9M0GpafSKIsrDWNAswyzncbmvjT6G1Vx33BqDnZGssH7n dFUWs8h4zZ28XH+8JjP0D5Vgb1t2u6shNxcBvNJ7xGBNSk5T2e897hkjX4gyb6/iuYqY 7EgA== X-Gm-Message-State: AOJu0YzeaeYBFDlxPPrhgq/n++5hFi1M9SgM7kykXJoDPkQllk8v4SB1 j/u71UbRGMiEIi3U9UhiUYPHo5e8xLBwYw6OnfZJEEZ/YkF8M5oTkOxu/W0hvqZKqXDNFg3DdwZ w9bkKrQ== X-Gm-Gg: AZuq6aIv8Ykc5j+aACbAyyXEG5zUva1zyOlvODnQevpitk6NsFLbQzCMPTEIYDbyP61 sqToO10NJ7lT1aO34DRSJzAV6cEf9fe1ohdY6aq0xqy5UY9noEjJpYikqOsTXaATfo1a/O/c4aP d43O3u5Zsa0vR1TdYyAb46jtbiOoylX7+2wzM3uiMlVjed/oD1oYm6jeRQ4u5WSdC2N6amys0uC UrwUOrH3y0HmXgkWp0HinUndq1Wvr4EyvM1Enm+146PfC7SCwyQtHfV8IpREVAyhoBDlRZ5Lyyg 0r0ZCXSrWcaFz9xwKJ3tjQQpqdcWLhQ17EtnXwvsEbltHv51zgzsKgKUUGZQykvqJ+8TJzoOVHY HFkqQ7h2X8tatZW+OlT6ATfFZf1fpzhqBJKfmXn1nQoEodg/QEiMgQUlBlLpmK6yWtssYyCEYTA 8rFqmvsqUF2QR/3+lLgPamxmbCPyKmHfzIalFLwBImXLRYGb4DlwlLN62/WN0CCgfbABNFVPKKm Xw= X-Received: by 2002:a05:600c:3f0f:b0:47e:e076:c7a2 with SMTP id 5b1f17b1804b1-4803e7a2d74mr85355355e9.15.1769002543654; Wed, 21 Jan 2026 05:35:43 -0800 (PST) Message-ID: Date: Wed, 21 Jan 2026 14:35:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Ping: [PATCH] flask: fix gcov build with gcc14+ To: "Daniel P. Smith" Cc: "xen-devel@lists.xenproject.org" References: <875df90d-1d3a-416b-a958-3d3a31144f85@suse.com> <0e188989-9190-4f3b-9c45-f4e3d460daca@suse.com> Content-Language: en-US From: Jan Beulich Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsveeIQyeyEJ/8PTowmSQLakF+3fote9ybzd880fSmFuIEJldWxp Y2ggPGpiZXVsaWNoQHN1c2UuY29tPsJgBBMRAgAgBQJZN5xEAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQoDSui/t3IH4J+wCfQ5jHdEjCRHj23O/5ttg9r9OIruwAn3103WUITZee e7Sbg12UgcQ5lv7SzsFNBFk3nEQQCACCuTjCjFOUdi5Nm244F+78kLghRcin/awv+IrTcIWF hUpSs1Y91iQQ7KItirz5uwCPlwejSJDQJLIS+QtJHaXDXeV6NI0Uef1hP20+y8qydDiVkv6l IreXjTb7DvksRgJNvCkWtYnlS3mYvQ9NzS9PhyALWbXnH6sIJd2O9lKS1Mrfq+y0IXCP10eS FFGg+Av3IQeFatkJAyju0PPthyTqxSI4lZYuJVPknzgaeuJv/2NccrPvmeDg6Coe7ZIeQ8Yj t0ARxu2xytAkkLCel1Lz1WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21.01.2026 14:14, Daniel P. Smith wrote: > Apologies, I've been on travel for the last two weeks and I wasn't comfortable acking this with just a read of the diff. The thing that bothers me that I want to understand better is why only after the else does it worry about null terminated. Additionally, stepping back, a casual reader of the code is going to wonder why only after some reads into the buffer does it need a null while others do not. I'm curious to know of an example or two which you refer to here, as ... > I think most people would find that as a red flag that an underlying issue is getting papers papered over. I will be back from travel this weekend and I will sit down and review with more context. > > V/r, > DPS > > On January 19, 2026 8:50:02 AM CST, Jan Beulich wrote: >> Daniel, >> >> On 08.01.2026 10:18, Jan Beulich wrote: >>> Gcc's "threading" of conditionals can lead to undue warnings, as reported >>> in e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116519 (no matter >>> that the overall situation is different there). While my gcc15 complains >>> ("buf[2] may be used uninitialized in this function") about only two of >>> the three instances (not about the one in type_read()), adjust all three >>> to be on the safe side. ... I've already extended the change to cover all three similar patterns, no matter that only two triggered a warning. Jan