Task #377 - added.err

back to task #377
download
Error: COMPILER_WARNING (CWE-457):
dracut-102-build/dracut-ng-102/src/install/dracut-install.c:148:12: warning[-Wmaybe-uninitialized]: ‘fts’ may be used uninitialized
#  148 |         if (*p)
#      |            ^
dracut-102-build/dracut-ng-102/src/install/dracut-install.c: scope_hint: In function ‘install_modules’
dracut-102-build/dracut-ng-102/src/install/dracut-install.c:1582:34: note: ‘fts’ was declared here
# 1582 |         _cleanup_fts_close_ FTS *fts;
#      |                                  ^~~
#  146|   static inline void fts_closep(FTS **p)
#  147|   {
#  148|->         if (*p)
#  149|                   fts_close(*p);
#  150|   }

Error: COMPILER_WARNING:
dracut-102-build/dracut-ng-102/src/install/dracut-install.c: scope_hint: In function ‘find_suppliers_for_sys_node’
dracut-102-build/dracut-ng-102/src/install/dracut-install.c:1576:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
# 1574|                           closedir(d);
# 1575|                   }
# 1576|->                 strncat(node_path, "/..", 3); // Also find suppliers of parents
# 1577|           }
# 1578|   }