mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
mq_open: add long file name check and parameter check
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
40b467420f
commit
0aa14f832d
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user