From: "Theo de Raadt" Subject: Re: newsyslog: fix negative size limit bug To: Alexander Bluhm Cc: Jan Klemkow , tech@openbsd.org Date: Tue, 22 Jul 2025 18:06:42 -0600 Correct, use strtonum() While at it, read the strtoll() manual page and spot the multiple mistakes you made assuming it does what you think it does. It's so incredibly error prone, including errno and range-checking. That is why we created strtonum.