sysv-generator: only allow regular files in enumerate_sysv()
authorCristian Rodríguez <crrodriguez@opensuse.org>
Wed, 14 Jan 2015 05:51:41 +0000 (02:51 -0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 22 Jan 2015 06:14:53 +0000 (01:14 -0500)
commit0814f65ec6feba5efcf0f5b14c054f3c40e4cd8f
tree60c5b0642f1f14446cafd788b3aa2232666e9cbf
parent3a5afdec90a08b1eb6dfeab667783849204ee8bd
sysv-generator: only allow regular files in enumerate_sysv()

Otherwise, if the directory contains other directories we fail
at fopen in load_sysv() with EISDIR.
src/sysv-generator/sysv-generator.c