mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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>