Commit 499a33e
committed
pkg_generate_checsum: make it more robust
With some buggy metadata, when parsing the manifest we may end up requesting
to generate the checksum for a package with files informations but no
checksum associated with the files, which mean f->sum would be NULL.
Accept to generate checksum in this case by processing an empty string instead of
crashing because process NULL.
Fixes: #25601 parent daf72e9 commit 499a33e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments