Regression tests for usr.sbin/zic and lib/libc/stdtime

Andrew Pantyukhin infofarmer at FreeBSD.org
Wed Apr 2 07:42:47 PDT 2008


On Wed, Apr 02, 2008 at 09:57:46AM -0400, Steven Kreuzer wrote:
> -	(void) sprintf(fullname, "%s/%s", directory, name);
> +	(void) snprintf(fullname, sizeof(filename), "%s/%s", directory, name);
					 ^^^^^^^^
Has a typo crawled in?


More information about the freebsd-hackers mailing list