From: Uwe Kleine-König Date: Fri, 20 Oct 2023 10:04:42 GMT Subject: Re: Regression: git send-email fails with "Use of uninitialized value $address" + "unable to extract a valid address" Message-ID: <20231020100442.an47wwsti2d4zeyx@pengutronix.de> In-Reply-To: <20231013141437.ywrhw65xdapmev7d@pengutronix.de> hello, On Fri, Oct 13, 2023 at 04:14:37PM +0200, Uwe Kleine-König wrote: > Hello, > > $ git send-email --to 'A B , C D ' lala.patch > Use of uninitialized value $address in sprintf at /usr/lib/git-core/git-send-email line 1172. > error: unable to extract a valid address from: > > This happens for me with git 2.42.0 and also on master (59167d7d09fd, "The seventeenth batch"). > > Bisection points at > > a8022c5f7b67 ("send-email: expose header information to git-send-email's sendemail-validate hook") > > I didn't try to understand that change and fix the problem. Another (similar?) problem with non-ascii-chars: $ git send-email --to 'Will Deacon ' --to 'Krzysztof Wilczyński ' --to 'Lorenzo Pieralisi ' --cc 'Rob Herring ' --to 'Bjorn Helgaas ' --cc 'linux-pci@vger.kernel.org' --cc kernel@pengutronix.de -1 --base=@~ Use of uninitialized value $address in sprintf at /home/uwe/gsrc/git/git-send-email line 1162. error: unable to extract a valid address from: Bisection points to the same commit, when dropping ń in Krzysztof's name, it works fine. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |