projects
/
platform
/
core
/
test
/
security-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fbb80
)
Fix buffer overflow
31/182131/1
openssl-example
author
Dariusz Michaluk
<d.michaluk@samsung.com>
Wed, 20 Jun 2018 14:57:28 +0000
(16:57 +0200)
committer
Dariusz Michaluk
<d.michaluk@samsung.com>
Wed, 20 Jun 2018 14:57:28 +0000
(16:57 +0200)
Change-Id: Ic48d59876db8f541d38613e93426367e34ecbdf5
examples/crypto/src/crypto.c
patch
|
blob
|
history
diff --git
a/examples/crypto/src/crypto.c
b/examples/crypto/src/crypto.c
index 142d95b9e94047335929e5bee096c5ecd1cf891a..6e58911dd6ec387baf42e2c1d7268129a30eed74 100644
(file)
--- a/
examples/crypto/src/crypto.c
+++ b/
examples/crypto/src/crypto.c
@@
-471,7
+471,7
@@
void _btn_ssl_tls_cb(appdata_s *ad, Evas_Object *obj) {
goto exit;
}
X509_NAME_print_ex(outbio, certname, 0, 0);
- char buf[
BUFF
SIZE];
+ char buf[
INPUT_DATA_
SIZE];
BIO_gets(outbio, buf, INPUT_DATA_SIZE);
print_msg(ad->msg_box, "Displaying the certificate subject data: %s.\n", buf);