Fix potential defects of source code 72/75172/1 accepted/tizen/common/20160627.191124 accepted/tizen/ivi/20160623.120600 accepted/tizen/mobile/20160623.120509 accepted/tizen/tv/20160623.120528 accepted/tizen/wearable/20160623.120545 submit/tizen/20160622.002614
authorSunmin Lee <sunm.lee@samsung.com>
Fri, 17 Jun 2016 02:28:26 +0000 (11:28 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Fri, 17 Jun 2016 02:32:29 +0000 (11:32 +0900)
commitac196e7ab424e2f685a314645dee8c7a4e418ff4
tree68b148b3e7b4ea161db582a84ccdafbebd4683b4
parentc31a292521fc6a84e808edeed73d2d8333262457
Fix potential defects of source code

Fix potential defects as below:
 logger/logger.c: substitute 'sprintf' with 'snprintf'
 shared/logconfig.c: close file pointer in all exit cases

Change-Id: I6cea5719a134e699de765705a4ead38192344d3c
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
src/logger/logger.c
src/shared/logconfig.c