Replace gets function
authorch79.cho <ch79.cho@samsung.com>
Wed, 28 Sep 2016 06:52:40 +0000 (15:52 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 28 Sep 2016 08:54:44 +0000 (08:54 +0000)
commit74ab7a7ff852baab940fd9367cf1b7dbd63a2369
treef8bbe95a36c73b94173976521c4646b9c50a6787
parent2415b6b226b76df629ed899f63b9e56637feb4aa
Replace gets function

gets() function does not check for buffer length
and always results in a vulnerability.

Change-Id: I74abbe3f8a746513bb955455891ab1ca4746f1a7
Signed-off-by: ch79.cho <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12395
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/examples/linux/notificationconsumer.c