[{"id":3678602,"web_url":"http://patchwork.ozlabs.org/comment/3678602/","msgid":"<20260417092427.3643-1-linuxtestproject.agent@gmail.com>","list_archive_url":null,"date":"2026-04-17T09:24:27","subject":"Re: [LTP] safe_stdio: More checks for invalid function return values","submitter":{"id":93132,"url":"http://patchwork.ozlabs.org/api/people/93132/","name":null,"email":"linuxtestproject.agent@gmail.com"},"content":"Hi Petr,\n\n--- [PATCH 1/2] ---\n\nOn 2026-04-17, Petr Vorel wrote:\n> safe_stdio: More checks for invalid function return values\n\n> -\tif (ret == EOF)\n> -\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL, \"fflush(%p)\", f);\n> +\tif (ret == EOF) {\n> +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL, \"fflush(%p) failed\", f);\n> +\t} else if (!ret) {\n> +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> +\t\t\t\t  \"Invalid fflush(%p) return value %d\", f, ret);\n> +\t}\n\n!ret is ret == 0, which is fflush()'s success return — this breaks every\ncaller on success. fflush() only returns 0 or EOF per POSIX; there is no\ninvalid return value to guard against, so drop the else if branch entirely.\n\n> +\t} else if (ret < 0) {\n> +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> +\t\t\t\t  \"Invalid ftell(%p) return value %ld\", f, ret);\n\n> +\t} else if (ret < 0) {\n> +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> +\t\t\t\t  \"Invalid fileno(%p) return value %d\", f, ret);\n\nUse ret < -1 here to be consistent with safe_fseek() in the same file and\nwith the policy established by patch 2/2; also fix the continuation-line\nindentation (tabs only, no mixed spaces).\n\n--- [PATCH 2/2] ---\n\nOn 2026-04-17, Petr Vorel wrote:\n> lib: Be pedantic on invalid comparison check\n\n> diff --git a/lib/safe_stdio.c b/lib/safe_stdio.c\n> @@ -67,7 +67,7 @@ int safe_asprintf(...)\n> -\t} else if (ret < 0) {\n> +\t} else if (ret < -1) {\n> ...\n> @@ -154,7 +154,7 @@ int safe_fseek(...)\n> -\t} else if (ret < 0) {\n> +\t} else if (ret < -1) {\n\nThis fixes asprintf and fseek but misses safe_ftell() and safe_fileno()\nfrom patch 1/2, which are left with ret < 0. Either fix them here or\nswap the patch order so new checks are written with ret < -1 from the start.\n\n---\nNote:\n\nOur agent completed the review of the patch. The full review can be found\nin the conversation context above.\n\nThe agent can sometimes produce false positives although often its findings\nare genuine. If you find issues with the review, please comment this email\nor ignore the suggestions.\n\nRegards,\nLTP AI Reviewer","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Pa3rKlbV;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\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 4fxqGF2RBYz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 19:24:37 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 038FC3E2FF5\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 11:24:35 +0200 (CEST)","from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 751F03C22A5\n for <ltp@lists.linux.it>; Fri, 17 Apr 2026 11:24:31 +0200 (CEST)","from mail-dl1-x1241.google.com (mail-dl1-x1241.google.com\n [IPv6:2607:f8b0:4864:20::1241])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 13E32600B06\n for <ltp@lists.linux.it>; Fri, 17 Apr 2026 11:24:31 +0200 (CEST)","by mail-dl1-x1241.google.com with SMTP id\n a92af1059eb24-1279eced0b9so611196c88.0\n for <ltp@lists.linux.it>; Fri, 17 Apr 2026 02:24:30 -0700 (PDT)","from\n runnervm35a4x.zs354342tb2e3kgisxlw23eeif.dx.internal.cloudapp.net\n ([13.87.216.115]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12c75388a20sm784442c88.2.2026.04.17.02.24.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 17 Apr 2026 02:24:29 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776417869; x=1777022669; darn=lists.linux.it;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=yiLOnbV7e70dY7+nqbu3FUgZmwukzbKl0mp6/6ZfivA=;\n b=Pa3rKlbVgFRVSftq4jrXXZRWFceUNuvLaKEarWYMxnHOtq3RJWZlqCEjZMSM0pL/op\n 97wZki1OrU28ZI9uQWcQLgWdTsur5NxwS6+XO4r6s2o/Zk0X/h5lMMLGeqMsHbxgkPIw\n 8vLH1M/pshoSXKm9c5+5LdLzx2GYw8xWKcE8srTsv4yOOaKcXMYGquHtLbjhKqTPV96X\n tGQLG1lAql0raP8xxjurOfwIrJUidZzt4DlkkuCM8Ub3fu6ldfdBeIQt86tIWzyXuP6Y\n hJkGQOlGYX9J8iOBjMnsvDFG7zfQBChHuG5pAELGmE2AGrdvipeVLhwcPjKDfWm/BNee\n SKhQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776417869; x=1777022669;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=yiLOnbV7e70dY7+nqbu3FUgZmwukzbKl0mp6/6ZfivA=;\n b=kGmwzSfUw26zraWjpgmoTfIZHGN57mlJLRu+fbbhgQTTruB+LMuOOKsdxAAFrC+E6x\n +T1HM0XYB0L9ZLKN3t7KyaWzkpu4tM60b1PkBQSHbZ1vPgvkQqRjFRSx9X8VQh7kfUZm\n gXESgUaDPODOMdOJlpVv4UyLHVlr6o/S/HMWC5JFFBrdsZRnSZXrJBqAy0HMEYxZXJja\n Wh0Y+CIN+a239S53a8SkUwQbeklo4FUqCaVuWHn37fouyK4tb9xWIAg26LFUA2mD4fNI\n wZptJlh89UZJKgU4W/FLMqHG0yzSQG6za8PXWOi8mt/EC3Z96ZcSfr4Npurwx58fP61G\n gjXg==","X-Gm-Message-State":"AOJu0YxKGAtK7vEm+8rFyuxtGC3PEKDWcHG7nrpXrIqVmaSalFhgGaaA\n 4Au/+7CeMm24u9WQPb6G8LCIK34wtrx9Q1KiQZPtYtw2oWBDXEggiHvR","X-Gm-Gg":"AeBDieuoCjMKB/N8Pm4ul3jYOqCczqEcCuhTecPS8ZRM6q/CGYTHDpnskQSs9aRd8Xa\n hoEaKPBRBSKgmoyuTqCqOAGamxwlO8pr09+9u4XNB7pzoOyG6c21ym5adJ4pSNqclmeG6TiArvZ\n ywaed1xgiI7jSIagr040v/RgABu4RKEBRZLsm1J7RUkPAIAMoqOqYme9j007l7bAL2Z2/l030m4\n ou3qW+kiF3TZTbGC418RTRDi7mJBkbvdnhp/z3OcPHHGffrHZKoUzA11p22W+ocDNYkZx7JfCTO\n eME1L89OfHwKCzgSSaWJWqnPVsGby9LyaM7AAcVO1WyA8ADcDvjJRV8GK651mLxv+87cN+i7w/C\n o8x6WRwZsB81UwKH4oWV3h+xcUOo8lSY5x97P2aJiPPrGXh5hn8tZiD0KAtbbjKwcA16ylG0eMG\n bQ/WQQs8GbjMaKNy4n4AEoTzPd/mFms3mj//+gxGM1rU3BtK1VG6DwjJfm04bHmjuRvf8vs3aiW\n 86nNuxrValN9+64NjMWbv8riP/aw4e8frN8T813W1jqHH+cWQ==","X-Received":"by 2002:a05:7022:90a:b0:128:d715:b717 with SMTP id\n a92af1059eb24-12c73f82878mr789170c88.13.1776417869252;\n Fri, 17 Apr 2026 02:24:29 -0700 (PDT)","From":"linuxtestproject.agent@gmail.com","To":"Petr Vorel <pvorel@suse.cz>","Date":"Fri, 17 Apr 2026 09:24:27 +0000","Message-ID":"<20260417092427.3643-1-linuxtestproject.agent@gmail.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260417084758.329107-1-pvorel@suse.cz>","References":"<20260417084758.329107-1-pvorel@suse.cz>","MIME-Version":"1.0","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM,SPF_HELO_NONE,\n SPF_PASS shortcircuit=no autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-2.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] safe_stdio: More checks for invalid function return values","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Cc":"ltp@lists.linux.it","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}},{"id":3678612,"web_url":"http://patchwork.ozlabs.org/comment/3678612/","msgid":"<20260417094231.GB386785@pevik>","list_archive_url":null,"date":"2026-04-17T09:42:31","subject":"Re: [LTP] safe_stdio: More checks for invalid function return values","submitter":{"id":70792,"url":"http://patchwork.ozlabs.org/api/people/70792/","name":"Petr Vorel","email":"pvorel@suse.cz"},"content":"> Hi Petr,\n\n> --- [PATCH 1/2] ---\n\n> On 2026-04-17, Petr Vorel wrote:\n> > safe_stdio: More checks for invalid function return values\n\n> > -\tif (ret == EOF)\n> > -\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL, \"fflush(%p)\", f);\n> > +\tif (ret == EOF) {\n> > +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL, \"fflush(%p) failed\", f);\n> > +\t} else if (!ret) {\n> > +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> > +\t\t\t\t  \"Invalid fflush(%p) return value %d\", f, ret);\n> > +\t}\n\n> !ret is ret == 0, which is fflush()'s success return — this breaks every\n> caller on success. fflush() only returns 0 or EOF per POSIX; there is no\n> invalid return value to guard against, so drop the else if branch entirely.\n\nYeah, this one is really invalid, thanks agent :).\nI'll wait little longer for others feedback before sending v2.\n\n> > +\t} else if (ret < 0) {\n> > +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> > +\t\t\t\t  \"Invalid ftell(%p) return value %ld\", f, ret);\n\n> > +\t} else if (ret < 0) {\n> > +\t\ttst_brkm_(file, lineno, TBROK | TERRNO, NULL,\n> > +\t\t\t\t  \"Invalid fileno(%p) return value %d\", f, ret);\n\n> Use ret < -1 here to be consistent with safe_fseek() in the same file and\n> with the policy established by patch 2/2; also fix the continuation-line\n> indentation (tabs only, no mixed spaces).\n\nI frankly expect second patch being refused. If not, I'd swap commits in v2.\n\n> --- [PATCH 2/2] ---\n\n> On 2026-04-17, Petr Vorel wrote:\n> > lib: Be pedantic on invalid comparison check\n\n> > diff --git a/lib/safe_stdio.c b/lib/safe_stdio.c\n> > @@ -67,7 +67,7 @@ int safe_asprintf(...)\n> > -\t} else if (ret < 0) {\n> > +\t} else if (ret < -1) {\n> > ...\n> > @@ -154,7 +154,7 @@ int safe_fseek(...)\n> > -\t} else if (ret < 0) {\n> > +\t} else if (ret < -1) {\n\n> This fixes asprintf and fseek but misses safe_ftell() and safe_fileno()\n> from patch 1/2, which are left with ret < 0. Either fix them here or\n> swap the patch order so new checks are written with ret < -1 from the start.\n\nGood catch. I was sure I would not forget, but obviously I did.\n\nKind regards,\nPetr\n\n> ---\n> Note:\n\n> Our agent completed the review of the patch. The full review can be found\n> in the conversation context above.\n\n> The agent can sometimes produce false positives although often its findings\n> are genuine. If you find issues with the review, please comment this email\n> or ignore the suggestions.\n\n> Regards,\n> LTP AI Reviewer","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=TSE5C6zX;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=KZ2+NpHD;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=TSE5C6zX;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=KZ2+NpHD;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)","smtp-out2.suse.de;\n\tnone"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\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 4fxqg81g64z1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 19:42:44 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id D94923E2F93\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 11:42:40 +0200 (CEST)","from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 2FA443E196A\n for <ltp@lists.linux.it>; Fri, 17 Apr 2026 11:42:38 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\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 in-3.smtp.seeweb.it (Postfix) with ESMTPS id AEADF1A00A33\n for <ltp@lists.linux.it>; Fri, 17 Apr 2026 11:42:37 +0200 (CEST)","from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 966A55BE5A;\n Fri, 17 Apr 2026 09:42:36 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 8070B593AE;\n Fri, 17 Apr 2026 09:42:36 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id NsT6HYwA4mn2CAAAD6G6ig\n (envelope-from <pvorel@suse.cz>); Fri, 17 Apr 2026 09:42:36 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1776418956;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=JyXmAbHN3DB6zasEvYtbBrM9Yq0k/Er9Ni5xIIeP2N0=;\n b=TSE5C6zXhJk74gfmhY1LkPtmdLOUekAyZYjK3tHGsS6HQxbPprS+y/iPUw18sK/UJ5AX4x\n 7OgYBjzEpLGVuOejllLI1+pkufOwqnDPXBn63rAeIgrj1MMaKGsdtPULDGtXZKlgWY/ZiI\n 9TSOSNoOo6Va/Gd05P0hp0IQuGEK56M=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1776418956;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=JyXmAbHN3DB6zasEvYtbBrM9Yq0k/Er9Ni5xIIeP2N0=;\n b=KZ2+NpHDCATwemY8T0jtcRt/XhX+ytiVOGJH8KQH2tchpWaCvAZDlgiQ2if+Kj6Mzlfc+4\n NH5TLOFdPGdv/qAw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1776418956;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=JyXmAbHN3DB6zasEvYtbBrM9Yq0k/Er9Ni5xIIeP2N0=;\n b=TSE5C6zXhJk74gfmhY1LkPtmdLOUekAyZYjK3tHGsS6HQxbPprS+y/iPUw18sK/UJ5AX4x\n 7OgYBjzEpLGVuOejllLI1+pkufOwqnDPXBn63rAeIgrj1MMaKGsdtPULDGtXZKlgWY/ZiI\n 9TSOSNoOo6Va/Gd05P0hp0IQuGEK56M=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1776418956;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=JyXmAbHN3DB6zasEvYtbBrM9Yq0k/Er9Ni5xIIeP2N0=;\n b=KZ2+NpHDCATwemY8T0jtcRt/XhX+ytiVOGJH8KQH2tchpWaCvAZDlgiQ2if+Kj6Mzlfc+4\n NH5TLOFdPGdv/qAw=="],"Date":"Fri, 17 Apr 2026 11:42:31 +0200","From":"Petr Vorel <pvorel@suse.cz>","To":"linuxtestproject.agent@gmail.com","Message-ID":"<20260417094231.GB386785@pevik>","References":"<20260417084758.329107-1-pvorel@suse.cz>\n <20260417092427.3643-1-linuxtestproject.agent@gmail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260417092427.3643-1-linuxtestproject.agent@gmail.com>","X-Spamd-Result":"default: False [-3.50 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[];\n HAS_REPLYTO(0.30)[pvorel@suse.cz];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n FREEMAIL_TO(0.00)[gmail.com]; TAGGED_RCPT(0.00)[];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[];\n RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+];\n MISSING_XM_UA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com];\n RCPT_COUNT_TWO(0.00)[2];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:replyto,imap1.dmz-prg2.suse.org:helo];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCVD_TLS_ALL(0.00)[]; TO_DN_NONE(0.00)[];\n RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n REPLYTO_EQ_FROM(0.00)[]","X-Spam-Score":"-3.50","X-Spam-Level":"","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-3.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-3.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] safe_stdio: More checks for invalid function return values","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Reply-To":"Petr Vorel <pvorel@suse.cz>","Cc":"ltp@lists.linux.it","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}}]