OSSP CVS Repository

ossp - Check-in [1145]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1145
Date: 2001-Oct-10 17:40:00 (local)
2001-Oct-10 15:40:00 (UTC)
User:rse
Branch:
Comment: complain on 'unix:' (no path)
Tickets:
Inspections:
Files:
ossp-pkg/sa/sa.c      1.28 -> 1.29     2 inserted, 0 deleted

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