ossp-pkg/sa/sa.c 1.28 -> 1.29
--- sa.c 2001/10/10 09:21:27 1.28
+++ sa.c 2001/10/10 15:40:00 1.29
@@ -462,6 +462,8 @@
/* fill-in socket address structure */
n = strlen(cpPath);
+ if (n == 0)
+ return SA_ERR_ARG;
if ((n+1) > sizeof(un.sun_path))
return SA_ERR_MEM;
if (cpPath[0] != '/') {
|
|