Changeset 281


Ignore:
Timestamp:
Jun 23, 2009, 4:15:50 PM (16 years ago)
Author:
Silvan Scherrer
Message:

fix to prevent sharing of the complete drive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/service.c

    r274 r281  
    156156#else
    157157        /* Assume OS/2 users are smart enough to put a correct path in smb.conf, and simply copy the string */
    158         safe_strcpy(destname, connectpath, sizeof(connectpath)-1);
     158        safe_strcpy(destname, connectpath, strlen(connectpath));
    159159#endif 
    160160
Note: See TracChangeset for help on using the changeset viewer.