block: Prevent buffer overflow 63/132663/1
authorpr.jung <pr.jung@samsung.com>
Wed, 7 Jun 2017 06:00:15 +0000 (15:00 +0900)
committerpr.jung <pr.jung@samsung.com>
Wed, 7 Jun 2017 06:00:15 +0000 (15:00 +0900)
commitf17266a5e199970663a30b50419663b15b884315
treef77d2e10145b8a2c9802d108e779e822b36b64d8
parenta7551b646da6dd76f15d9bac3a2ec3e5cc96c56d
block: Prevent buffer overflow

- Specify a limit on the input string length
when using s with '%' format specifies for scanf-like functions

Change-Id: I7406565b9d834763784ff8c18bdd9cf31119536d
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/block/block.c