Changeset 578


Ignore:
Timestamp:
Jan 5, 2008, 5:25:52 AM (15 years ago)
Author:
andersk
Message:
Fix format string hole.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/accountadm/admof.c

    r544 r578  
    8383    struct passwd *pwd = getpwnam(locker);
    8484    if (pwd != NULL)
    85         n = snprintf(dir, sizeof dir, pwd->pw_dir);
     85        n = snprintf(dir, sizeof dir, "%s", pwd->pw_dir);
    8686    else
    8787        n = snprintf(dir, sizeof dir, "/mit/%s", locker);
Note: See TracChangeset for help on using the changeset viewer.