|
Message-ID: <Pine.BSM.4.64L.2501042213480.18254@herc.mirbsd.org> Date: Sat, 4 Jan 2025 22:15:00 +0000 (UTC) From: Thorsten Glaser <tg@...bsd.de> To: musl@...ts.openwall.com Subject: Re: crypt(3) returns "*" from read-only region, segfaulting passwd(1) on Alpine for long passwords Quentin Rameau dixit: >> Given it’s defined as returning a writable [...] string, > >Could you explain where this is defined? The manpages document it as returning a 'char *' and, at the same time, do not explicitly forbid writing to that location. I’m certain that this is only due to the age of the API, but it won’t do to break it now. bye, //mirabilos -- Gast: „Ein Bier, bitte!“ Wirt: „Geht auch alkoholfrei?“ Gast: „Geht auch Spielgeld?“
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.