Go to file
Sören Tempel 5c4b90dfd4 list: fix segmentation fault with virtual packages
Virtual packages have the origin pointer set to NULL. Trying to print it
using the BLOB_PRINTF macros causes a segmentation fault.

Inspired by the `print_origin_name` function from `src/search.c` this
commit attempts to fix it by checking whether `pkg->origin` is NULL
before attempting to print it. If it is NULL the pkg name is printed
instead.

Since printing the pkg name requires a different format string this
commit splits the printf call for printing the package line into
multiple ones. The output format shouldn't have changed at all though.
2018-07-02 08:52:22 -05:00
libfetch libfetch: support OpenSSL 2018-01-31 20:04:46 +00:00
src list: fix segmentation fault with virtual packages 2018-07-02 08:52:22 -05:00
test solver: allow names with only one provider to be autoselected regardless of priority 2018-02-21 15:35:53 +00:00
.gitignore build and use bundled libfetch natively 2017-10-05 16:59:14 +03:00
.travis.yml travis: update alpine-chroot-install to 0.7.0 2018-02-09 01:22:56 +01:00
AUTHORS Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00
Make.rules build and use bundled libfetch natively 2017-10-05 16:59:14 +03:00
Makefile apk-tools-2.10.0 2018-06-24 17:52:33 +00:00
NEWS Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00
README Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00

README