Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
static int get_root_path_slow(int want, char *fsname, int *outfd, char *path, int index, dev_t *dev, char *nid) { ... ptr_end = strchr(mnt.mnt_fsname, ':'); strncpy(root_cached.nid, mnt.mnt_fsname, ptr_end - mnt.mnt_fsname); root_cached.nid[ptr_end - mnt.mnt_fsname] = '\0'; ...
This logic doesn't handle IPv6 NIDs correctly.