projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
211da00
)
test/p_test.c: silence -Wstringop-overflow
author
Patrick Steuer
<patrick.steuer@de.ibm.com>
Mon, 1 Jul 2019 16:09:16 +0000
(18:09 +0200)
committer
Patrick Steuer
<patrick.steuer@de.ibm.com>
Tue, 2 Jul 2019 11:14:42 +0000
(13:14 +0200)
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9282)
test/p_test.c
patch
|
blob
|
history
diff --git
a/test/p_test.c
b/test/p_test.c
index 925e3b8948d92d526c00d1df7167a17eb04ca767..904b75b2de45680e867928b6f205e04bbf5d7fd7 100644
(file)
--- 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)
- str
ncpy(p->data, buf, buf_l
);
+ str
cpy(p->data, buf
);
else
ok = 0;
}