search for: nocando

Displaying 1 result from an estimated 1 matches for "nocando".

Did you mean: tocando
2001 Feb 26
0
Problems with OpenSSH 2.5.1p1 on Solaris 8
...env(&env, &envsize, "LOGNAME", pw->pw_name); @@ -1188,7 +1198,83 @@ * needed for loading shared libraries. So the path better * remains intact here. */ +# ifdef HAVE_ETC_DEFAULT_LOGIN + if ((fd = open("/etc/default/login", O_RDONLY)) < 0) + goto nocando; + + if (fstat(fd, &inode) != 0 || inode.st_size < 6) { + close(fd); + goto nocando; + } + logstr = mmap(NULL, inode.st_size, PROT_READ, MAP_SHARED, + fd, 0); + close(fd); + if(logstr == MAP_FAILED) + goto nocando; + pagesize = getpagesize(); + if (inode.st_size...