-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
RT-Thread Version
master
Hardware Type/Architectures
none
Develop Toolchain
Other
Describe the bug
rt_object_init
Lines 392 to 394 in 2d75100
#if RT_NAME_MAX > 0 | |
rt_strncpy(object->name, name, RT_NAME_MAX); /* copy name */ | |
#else |
rt_object_allocate
Lines 493 to 495 in 2d75100
#if RT_NAME_MAX > 0 | |
rt_strncpy(object->name, name, RT_NAME_MAX - 1); /* copy name */ | |
#else |
确认下是不是有问题,是不是bug
Other additional context
No response
Metadata
Metadata
Assignees
Labels
No labels