-
strncpy inserts a last null character, which prevents from copying 8 bytes correctly. Instead, zero the integer and reproduce strncpy behaviour without the trailing \0. Signed-off-by: Thomas Guillem <thomas@gllm.fr>
a5c07a7c
strncpy inserts a last null character, which prevents from copying 8
bytes correctly. Instead, zero the integer and reproduce strncpy
behaviour without the trailing \0.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
VideoLAN code repository instance