Use snprintf instead of sprintf 33/230933/3
authorYunjin Lee <yunjin-.lee@samsung.com>
Thu, 16 Apr 2020 06:02:29 +0000 (15:02 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Thu, 16 Apr 2020 06:35:09 +0000 (15:35 +0900)
commitbb85afb9032e0b462a346ef1b62183ff3b74c6d0
tree365b2d757e76659dd2a6ed4910c78490d42b7d0a
parent2290178e94ebbb9b39b0c1cccec095a90eb0e60c
Use snprintf instead of sprintf

- Fix to use snprintf() instead of sprintf() and add return value check
- Return NULL if there's no string to return and if there's no proper
string to display then terminate popup app.

Change-Id: Id7261923f632c7278103c63ab9859f1f10c35ea2
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
ui/src/popup.c