mq_open: add long file name check and parameter check

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao
2021-07-12 22:15:25 +08:00
committed by Gustavo Henrique Nihei
parent 40b467420f
commit 0aa14f832d
4 changed files with 38 additions and 14 deletions
+1 -1
View File
@@ -39,6 +39,6 @@
/* Sizes of things */
#define MAX_MQUEUE_PATH 64
#define MAX_MQUEUE_PATH (sizeof(CONFIG_FS_MQUEUE_MPATH) + NAME_MAX)
#endif /* __FS_MQUEUE_MQUEUE_H */