From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 855773858D1E for ; Sat, 31 Dec 2022 15:11:25 +0000 (GMT) Content-Type: multipart/signed; boundary="Apple-Mail=_A01820EB-CC5A-447F-966B-3956BF7121EB"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: copying a string with truncation (was: [PATCH] resolv: add IPv6 support to inet_net_pton()) From: Sam James In-Reply-To: Date: Sat, 31 Dec 2022 15:11:07 +0000 Cc: Libc-alpha , Job Snijders , Florian Weimer , Paul Smith Message-Id: <2638A214-8459-40E3-B59A-089543EEE7CA@gentoo.org> References: <5ec8375d-2074-0eba-51dc-988cb80f7b8d@gmail.com> <2361A19D-75E7-4B01-97E6-1B193DB600E4@gentoo.org> <6AAE6B52-8E42-47E5-AE8B-2441507C8828@gentoo.org> To: Alejandro Colomar X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --Apple-Mail=_A01820EB-CC5A-447F-966B-3956BF7121EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 23 Dec 2022, at 11:42, Alejandro Colomar = wrote: >=20 > Hey Sam! >=20 > On 12/23/22 08:00, Sam James wrote: >>> On 23 Dec 2022, at 06:55, Sam James via Libc-alpha = wrote: >>> strlcpy and strlcat is in POSIX next = (https://www.austingroupbugs.net/view.php?id=3D986) and will be in glibc >>> in due course, I believe. >>>=20 >>> See https://sourceware.org/bugzilla/show_bug.cgi?id=3D178. Florian = sent a patch a few months ago >>> but I don't think anything happened with it yet = (https://patchwork.sourceware.org/project/glibc/patch/87fsjp7rqz.fsf@olden= burg.str.redhat.com/). >>>=20 >> Ah, I didn't read over the discussion again as I thought I'd = remembered it all, >> but since then, Paul's objection bug w/ austingroup has been closed, = so I don't see >> a reason not to move forward. >=20 > Ahh, good then. BTW, could you please link to Paul's objection? I = couldn't find it. Anyway, I'll CC him. https://austingroupbugs.net/view.php?id=3D1591 >=20 > I'll reply on the other thread, since I still think we need the other = function. >=20 > Cheers, >=20 > Alex >=20 > P.S.: I think you may have libc-alpha as 'Zack Weinberg via = Libc-alpha' on you address book? Or maybe it's my thunderbird? I think = it's not me. >=20 Oops! I'll fix. It was automatic. --Apple-Mail=_A01820EB-CC5A-447F-966B-3956BF7121EB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY7BRDl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kKZ0AQDWkHKIa/t/9fa4EFuCxHmjDVgI+yW1JBfaywnUKNd5+AEAlz4AtCECicbh Sf/ignGdLOTVJa5H7TaYMrUP6q9o6gk= =K5eh -----END PGP SIGNATURE----- --Apple-Mail=_A01820EB-CC5A-447F-966B-3956BF7121EB--