OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.28 and 1.29
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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] != '/') {

CVSTrac 2.0.1