Do not assert on NULL sbuf in sbuf_get but return an empty string, that allows pkg_is_valid to show the missing fields
modified libpkg/utils.c
@@ -66,8 +66,9 @@ sbuf_set(struct sbuf **buf, const char *str)
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
modified pkg/convert.c
@@ -230,9 +230,8 @@ convert_from_old(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|