memcpy copies upto (rc-1)th index but the write of NULL character to the string is at (rc+1)th index skipping (rc)th index. The fix addresses this as well. CID: 186491 Fixes Issue #8280 Signed-off-by: Subramanian Meenakshi Sundaram <subbu147@gmail.com> |
||
|---|---|---|
| .. | ||
| clock.c | ||
| CMakeLists.txt | ||
| fs.c | ||
| Kconfig | ||
| mqueue.c | ||
| pthread_barrier.c | ||
| pthread_common.c | ||
| pthread_cond.c | ||
| pthread_mutex.c | ||
| pthread_rwlock.c | ||
| pthread_sched.c | ||
| pthread.c | ||
| semaphore.c | ||
| sleep.c | ||
| timer.c | ||