Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <634e4629-2bf7-02cb-42d3-ea9e1ba52ce5@evolvis.org>
Date: Wed, 3 Sep 2025 01:54:17 +0200 (CEST)
From: Thorsten Glaser <tg@...lvis.org>
To: musl@...ts.openwall.com
cc: Sertonix <sertonix@...teo.net>
Subject: Re: unreliable/unused mbstowcs check in is_valid_hostname

On Tue, 2 Sep 2025, Rich Felker wrote:

>In any case, I don't think any of this matters until we get to really
>doing IDN. The code isn't doing anything right now, but changing it
>based on expectations of how IDN will later work without actually
>having worked that out seems like pointless churn.

The length check for 255 max shouldn’t hurt though?

(Except, it should actually be 254, not including a possible trailing
dot, which isn’t allowed in the FQDN RFC anyway.)

bye,
//mirabilos
-- 
22:20⎜<asarch> The crazy that persists in his craziness becomes a master
22:21⎜<asarch> And the distance between the craziness and geniality is
only measured by the success 18:35⎜<asarch> "Psychotics are consistently
inconsistent. The essence of sanity is to be inconsistently inconsistent

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.