The branch master has been updated via f663ddc7b00a2d75c1e7d868b73b24adc3f62095 (commit) from 211da00b79f5ab9df62f69ddff65d493759eae4c (commit)
- Log ----------------------------------------------------------------- commit f663ddc7b00a2d75c1e7d868b73b24adc3f62095 Author: Patrick Steuer <patrick.ste...@de.ibm.com> Date: Mon Jul 1 18:09:16 2019 +0200 test/p_test.c: silence -Wstringop-overflow Signed-off-by: Patrick Steuer <patrick.ste...@de.ibm.com> Reviewed-by: Richard Levitte <levi...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9282) ----------------------------------------------------------------------- Summary of changes: test/p_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/p_test.c b/test/p_test.c index 925e3b8..904b75b 100644 --- a/test/p_test.c +++ b/test/p_test.c @@ -92,7 +92,7 @@ static int p_get_params(void *vprov, OSSL_PARAM params[]) p->return_size = buf_l = strlen(buf) + 1; if (p->data_size >= buf_l) - strncpy(p->data, buf, buf_l); + strcpy(p->data, buf); else ok = 0; }