Firmware: restrict directory traversal depth

This commit is contained in:
Maximilian Rehkopf
2011-08-20 22:00:01 +02:00
parent 63308d56bc
commit a0ae977945
2 changed files with 34 additions and 31 deletions

View File

@@ -29,6 +29,7 @@
#include "ff.h"
#define FS_MAX_DEPTH (10)
#define SYS_DIR_NAME ((const uint8_t*)"sd2snes")
typedef enum {
TYPE_UNKNOWN = 0, /* 0 */