Fix impossible null pointer dereference
modified libpkg/pkg_checksum.c
@@ -737,7 +737,8 @@ pkg_checksum_validate_file(const char *path, const char *sum)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -800,7 +801,8 @@ pkg_checksum_validate_fileat(int rootfd, const char *path, const char *sum)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|