corrected memory leak issue and added some boundary check

This commit is contained in:
strawmanbobi
2026-01-13 16:31:37 +08:00
parent 2cad5e71a2
commit 225b30018a
4 changed files with 41 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ void noprint(const char *fmt, ...);
#else
#define ir_printf noprint
#endif
#define USER_DATA_SIZE 1636
#define USER_DATA_SIZE 2048
// #define USER_DATA_SIZE 4096
#ifdef __cplusplus