xbps/bin/xbps-create
Duncaen a46be6867a xbps-create: reject unhandled files
A segfault in xbps-create(1) was found in:
https://github.com/void-linux/void-packages/pull/7524

xbps-create adds a file type string to the xentry for every file it
finds in `destdir`, files other than symlinks, regular files and
directories weren't handled and resulted in a segfault later when
when processing the xentry structures.

This commit adds checks for sockets and fifos and exits with an
appropriate error message or with a generic error message for every
other unhandled file.

Closes #66
2019-04-14 12:39:04 +02:00
..
main.c xbps-create: reject unhandled files 2019-04-14 12:39:04 +02:00
Makefile
xbps-create.1 manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00