CVS: cvs.openbsd.org: src

Omar Polo <[email protected]> Sun, 19 Jul 2026 07:31:28 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/19 07:31:28

Modified files:
	usr.bin/mg     : echo.c 

Log message:
use strncmp instead of memcmp in complt()

cpos is not necessarely shorter than lh->l_name length, so we might end
up memcmp'ing out of bounds.

from Han Boetes (hboetes at gmail)