* path.cc (symlink): Check arguments for validity.

(getcwd): Ditto.
* syscalls.cc (ftruncate): Ditto.
* times.cc (times): Ditto.
* uname.cc (uname): Ditto.
This commit is contained in:
Egor Duda
2001-09-16 14:26:11 +00:00
parent d595839939
commit 0aca521ab8
5 changed files with 39 additions and 13 deletions

View File

@@ -21,6 +21,10 @@ uname (struct utsname *name)
{
DWORD len;
SYSTEM_INFO sysinfo;
if (check_null_invalid_struct_errno (name))
return -1;
char *snp = strstr (cygwin_version.dll_build_date, "SNP");
memset (name, 0, sizeof (*name));