mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 06:31:50 +00:00
In a previous commit, the init_globals() call was removed from the hashdump code, which resulted in path_prefix not being set in case the --basepath option was not specified, and led to a NULL pointer dereference. Fix the issue by calling the new set_path_prefix() function. The NULL value will honor the --basepath option if specified, or set the default path_prefix. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>