Since we have path[PATH_MAX] and path_tmp[PATH_MAX], there's a potential buffer overflow on Line 1533: sprintf(path_tmp, "%s.tmp_%d", path, /*getpid(),*/ i); Making PATH_MAX longer fixes this, though it's unclear if PATH_MAX is used to limit the length of path.
Since we have path[PATH_MAX] and path_tmp[PATH_MAX], there's a potential buffer overflow on Line 1533:
sprintf(path_tmp, "%s.tmp_%d", path, /*getpid(),*/ i);
Making PATH_MAX longer fixes this, though it's unclear if PATH_MAX is used to limit the length of path.

NVlabs/nvbio,NVlabs/nvbio,NVlabs/nvbio,NVlabs/nvbio