Closed jonny-svaerd-arm closed 3 weeks ago
Good catch! what i cannot understand is why the CI does not detect it... i will investigate and send a fix
@jonny-svaerd-arm: Please, could you have a look to the https://github.com/OpenAMP/open-amp/pull/626 fix?
Looks good to me @arnopo. Thanks for fixing it so quickly, much appreciated.
Looks good to me @arnopo. Thanks for fixing it so quickly, much appreciated.
Thank you for reporting the issue! t was good timing as we are starting tests for the upcoming release.
In commit c3132d0 and 27bec14 the
strncpy
function is replaced by a newsafe_strcpy
function, however the last argument to some of the calls are made withsizeof(name)
wherename
is aconst char *
(resulting in pointer size).I'm guessing these most likely were intended to be
strlen(name)
?Thanks!