Use read() instead of scanf for string inputs in test-app 34/139134/3 accepted/tizen/4.0/unified/20170828.223817 accepted/tizen/unified/20170811.021038 submit/tizen/20170803.074947 submit/tizen/20170809.085632 submit/tizen_4.0/20170828.100002 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
authorMilind Ramesh Murhekar <m.murhekar@samsung.com>
Mon, 17 Jul 2017 11:31:08 +0000 (17:01 +0530)
committerMilind Ramesh Murhekar <m.murhekar@samsung.com>
Wed, 26 Jul 2017 11:10:57 +0000 (16:40 +0530)
commit0e7a6577b3ad71cd88d9fb04a8cb4fc60c5d173a
tree238df28ac8b8ca2ebe7b575bad061aed4d096f64
parent8f81dc8788b4062fdc6c6c63c1bb8089cf19ea76
Use read() instead of scanf for string inputs in test-app

Description: This patch uses read() instead of scanf
for SSID, passphrase and WPS PIN inputs.

should use read() for buffer overflow protection,
to take control over the user input string.

Change-Id: I22313a145921ef1023f7ef8d40f94aa305fe8867
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
test/tethering_test.c