Re: [PATCH] Convert malloc() + sprintf() to safe_asprintf().
"Kevin J. McCarthy" <[email protected]> Thu, 21 May 2026 09:42:36 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <ag5jDNpl59Ntl8fP@qinghai> |
On Tue, May 19, 2026 at 01:11:24PM +0800, Kevin J. McCarthy wrote: >Thanks to Alejandro Colomar for pointing out that it would be better >to use a safer sprintf() alternative in the previous commit. > >This fixes the calls in mutt_idna.c, as well as the rest of the >codebase where I found a malloc() followed by a sprintf(). This is now pushed up too. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmoOYwwACgkQre92hIAx a9rRuhAAmjcWM2lju6yk4QG93AwN4BXOio+xX1429fQvycCc5iY2SVjpbQcP89Wb tudPt7mCsX4unFzKzXJ6H/nbjC2cnS7D9mRrnANljsEA6riS1gv8R73iiTPs/GAy VYCbDhGR3z37zAvkvyTGiPfPd3qyjYCJhvRTsB6QdkhbsN4WA6Q9sxeVUBwPecUN 2UBdUWoj+FsRtgTqaEynX8WsLWzGirZc/1B/6Z0DtOmc2zs+pZ256tfz/Jf4DSY8 mhJJRG13DmCDDYLK7g3s9c0ojw05cVO8rYFbSb4djfDHU/8CclHDKhhkRDEfpTGn hpDiJ0kB8d/TZoD+WpxIej7ML6kfF/+jdCq94114Xz4LIZgXhGUOjZL87u+2bFvz pr487KIth00LF3NhFYxLDMiPg6Ye/v9hqsy8DIyOGAp9A28JVNvQeLa7vK0D0sig Aw995ZBraozn1VEFLawA4RiP0e5Y87CGzbcE2t6SGc7u+Zl6Wf2ZLSvdoXzc8Uob bPALU2Qw5ZFe1L3LGmz1BZvXN29hFyRs21i49MTJ3SXVYsF9acn8f8S79nbtIY2K grsdHY9mGeXJ7U8yNr4LANP/ru7qRp3fn+QBz1fZ6815qxaOFeO4TV9AWIjCN8WR /paOQ79b82gE70kP1c8MkBDMw+32cwsicrHu0JZTx/b2I2pOCe0= =N9ls -----END PGP SIGNATURE-----