Changeset 2261


Ignore:
Timestamp:
Jan 3, 2013, 12:47:46 PM (6 years ago)
Author:
matthijs
Message:

mountd: Make sure ignored mounts get a name.

Before, these would just leave the name field unitialized, which could
cause uninitialized memory to be writting to /var/state/mountd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/mountd/src/lib/mount.c

    r2260 r2261  
    821821                        /* Set to "0" -> ignore partition */
    822822                        ignore = 1;
     823                        node[0] = '\0';
    823824                } else {
    824825                        /* Set to a specific name -> use that name */
Note: See TracChangeset for help on using the changeset viewer.