xbps/bin
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
..
xbps-alternatives Fix namespace violation 2018-09-25 22:11:30 -04:00
xbps-checkvers bin/xbps-checkvers: replace strncat with one snprintf 2019-03-22 19:14:08 +01:00
xbps-create xbps-create: reject unhandled files 2019-04-14 12:39:04 +02:00
xbps-dgraph manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00
xbps-fbulk manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00
xbps-install bin/xbps-install: don't overwrite action with downgrade if its on hold 2019-04-14 11:53:07 +02:00
xbps-pkgdb Fix namespace violation 2018-09-25 22:11:30 -04:00
xbps-query bin/xbps-query: support $NO_COLOR 2019-03-22 21:47:14 +01:00
xbps-reconfigure Fix namespace violation 2018-09-25 22:11:30 -04:00
xbps-remove bin/xbps-remove: ignore EBUSY errors 2019-03-22 21:41:43 +01:00
xbps-rindex Fix namespace violation 2018-09-25 22:11:30 -04:00
xbps-uchroot Fix namespace violation 2018-09-25 22:11:30 -04:00
xbps-uhelper xbps-uhelper: fix a warning reported by clang-3.8.1. 2016-07-17 11:34:39 +02:00
xbps-uunshare manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00
Makefile Alternatives framework for xbps (2/2). 2015-10-30 12:24:46 +01:00