In article <20170114161510.b8f2ff...@cvs.netbsd.org>,
Martin Husemann wrote:
>-=-=-=-=-=-
>
>Module Name: src
>Committed By: martin
>Date: Sat Jan 14 16:15:10 UTC 2017
>
>Modified Files:
> src/sys/arch/alpha/include: asm.h
>
>Log Message:
>Avoid stupid gcc redefinition warnings b
Module Name:src
Committed By: sjg
Date: Sat Jan 14 22:58:04 UTC 2017
Modified Files:
src/usr.bin/make: make.1 var.c
src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk
Log Message:
Allow providing a utc value to :{gm,local}time
Reviewed by: christos
The man-pag
On Sun, Jan 15, 2017 at 01:28:14AM +, Maya Rashish wrote:
> - strcpy(name, t->l_name);
> + strlcpy(name, t->l_name, sizeof(name));
>
This seems limited in setname, and getname was unlimited.
I don't see where else it is set, let me know if I'm wrong!
> @@ -162,7 +162,7 @@ module_load_plist_vfs(const char *modpat
> base = NULL;
>
> proppath = PNBUF_GET();
> - strcpy(proppath, modpath);
> + strlcpy(proppath, modpath, MAXPATHLEN);
> pathlen = strlen(proppath);
> if ((pathlen >= 6) && (strcmp(&proppath[pathlen - 5]