From: "Theo de Raadt" Subject: Re: bgpd: don't use strtoul in str2key To: Theo Buehler Cc: tech@openbsd.org Date: Tue, 02 Apr 2024 14:02:01 -0600 Theo Buehler wrote: > On Tue, Apr 02, 2024 at 03:31:06PM +0200, Claudio Jeker wrote: > > A similar change was done in ssh. The str2key() function uses strtoul() to > > convert a string from hex. This is not the way strtoul() should be used > > and instead just do it by hand. > > It's annoying that libc doesn't provide a good interface for this. I dunno, I wouldn't want to see this anything for this in libc.