Ignore:
Timestamp:
Feb 15, 2012, 1:11:46 AM (8 years ago)
Author:
Bruno Cornec
Message:
  • Fix #584 by using memmove to allow strings to overlap (tottenwd)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-cli.c

    r2912 r2946  
    511511        /* p points on to the string server:/path */
    512512        /* Store the 2 values */
    513         strcpy(bkpinfo->netfs_mount,p);
     513        /*  using memmove instead of strcpy as per #584 */
     514        memmove(bkpinfo->netfs_mount, p, MAX_STR_LEN);
    514515
    515516        /* test if we specified a user */
Note: See TracChangeset for help on using the changeset viewer.