This website requires JavaScript.
Explore
Help
Register
Sign In
Mirrors_Framework
/
nuttx
Watch
1
Star
0
Fork
0
mirror of
https://github.com/apache/nuttx.git
synced
2026-09-29 14:29:27 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
4ebeeecb7b03b43cbcaecf09fc796015a92b7432
nuttx
/
sched
/
task
T
History
Gregory Nutt
937f9f23f1
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
2014-12-17 12:24:02 -06:00
..
exit.c
…
Make.defs
…
spawn.h
…
task_activate.c
…
task_atexit.c
…
task_create.c
…
task_delete.c
…
task_execv.c
…
task_exit.c
…
task_exithook.c
…
task_getgroup.c
…
task_getpid.c
…
task_init.c
…
task_onexit.c
…
task_posixspawn.c
…
task_prctl.c
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
2014-12-17 12:24:02 -06:00
task_recover.c
…
task_reparent.c
…
task_restart.c
…
task_setup.c
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
2014-12-17 12:24:02 -06:00
task_spawn.c
…
task_spawnparms.c
…
task_start.c
…
task_starthook.c
…
task_terminate.c
…
task_vfork.c
…
task.h
…