-2008-10-18 11:00 Reuben Thomas <rrt@sc3d.org>
+2008-10-30 11:00 Reuben Thomas <rrt@sc3d.org>
* Correct words counts in comments of struct magic.
* Fix potential attacks via conversion specifications in magic
strings.
+ * Add a FIXME for Debian bug #488562 (magic files should be
+ read in a defined order, by sorting the names).
+
2008-10-18 16:45 Christos Zoulas <christos@astron.com>
* Added APPLE file creator/type
#include <dirent.h>
#ifndef lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.141 2008/08/31 07:58:00 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.142 2008/10/18 20:47:48 christos Exp $")
#endif /* lint */
#define EATAB {while (isascii((unsigned char) *l) && \
(void)fprintf(stderr, "%s\n", usg_hdr);
/* load directory or file */
+ /* FIXME: Read file names and sort them to prevent
+ non-determinism. See Debian bug #488562. */
if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
dir = opendir(fn);
if (dir) {