[BACK]Return to certhash.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/certhash.c between version 1.18 and 1.19

version 1.18, 2021/08/28 08:16:39 version 1.19, 2021/10/23 08:13:48
Line 490 
Line 490 
                 fprintf(stderr, "failed to readlink %s\n", dep->d_name);                  fprintf(stderr, "failed to readlink %s\n", dep->d_name);
                 return (-1);                  return (-1);
         }          }
           if (n >= sizeof(target) - 1) {
                   fprintf(stderr, "symbolic link is too long %s\n", dep->d_name);
                   return (-1);
           }
         target[n] = '\0';          target[n] = '\0';
   
         hi = hashinfo_from_linkname(dep->d_name, target);          hi = hashinfo_from_linkname(dep->d_name, target);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19