On Wed, Feb 05, 2020 at 08:11:54PM +0000, Santhosh Raju wrote:
> Module Name:  src
> Committed By: fox
> Date:         Wed Feb  5 20:11:54 UTC 2020
> 
> Modified Files:
>       src/games/battlestar: parse.c
> 
> Log Message:
> games/battlestar: Fix the -Werror=restrict warning.
> 
> Replace strcpy(1) with the safer snprintf(3) which guarantees NULL
> termination of strings.
> 
> Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

This can all use plain memcpy?

Joerg

Reply via email to