Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 96CBE84ED8 for ; Sat, 3 Jun 2023 14:33:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id WTCgtac5PDXf for ; Sat, 3 Jun 2023 14:33:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2787684CF2 for ; Sat, 3 Jun 2023 14:33:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1B3B1FA88; Sat, 3 Jun 2023 14:33:56 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 3 Jun 2023 14:33:56 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-10] src/sys/lib/libsa To: source-changes@NetBSD.org Approved: for-source-only Reply-To: martin@netbsd.org X-Mailer: log_accum Message-Id: <20230603143356.1B3B1FA88@cvs.NetBSD.org> Module Name: src Committed By: martin Date: Sat Jun 3 14:33:56 UTC 2023 Modified Files: src/sys/lib/libsa [netbsd-10]: subr_prf.c Log Message: Pull up following revision(s) (requested by rin in ticket #185): sys/lib/libsa/subr_prf.c: revision 1.30 libsa/printf: Do not fetch long va_arg as long long. This does real harm iff all of the following conditions are satisfied: (1) On ILP32 architectures. (2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT compile-time options are enabled. (3) Width field is used with 'l' modifier. This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot find this out somehow... To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.29.20.1 src/sys/lib/libsa/subr_prf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.