Error: GCC_ANALYZER_WARNING (CWE-775):
initscripts-10.25-build/initscripts-10.25/src/genhostid.c: scope_hint: In function ‘main’
initscripts-10.25-build/initscripts-10.25/src/genhostid.c:45:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/random", 0)’
#   43|     int fd = open ("/dev/random", O_RDONLY);
#   44|   
#   45|->   if (fd == -1 || read (fd, &n, sizeof (n)) != sizeof (n)) {
#   46|       srand48 ((long int) time (NULL) ^ (long int) getpid ());
#   47|       n = lrand48 ();
