Merge pull request #8993 from keszybz/sd-resolve-coverity-and-related-fixes

sd-resolve coverity and related fixes
This commit is contained in:
Lennart Poettering
2018-05-18 20:30:12 +02:00
committed by GitHub
11 changed files with 117 additions and 142 deletions
+1 -1
View File
@@ -919,7 +919,7 @@ int systemd_installation_has_version(const char *root, unsigned minimal_version)
if (r < 0)
return r;
assert_se((c = endswith(path, "*.so")));
assert_se(c = endswith(path, "*.so"));
*c = '\0'; /* truncate the glob part */
STRV_FOREACH(name, names) {