Firmware: restrict directory traversal depth
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user