Fix possible corruption 14/169214/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 5 Feb 2018 04:51:47 +0000 (13:51 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 5 Feb 2018 04:51:47 +0000 (13:51 +0900)
commit95a7e5888138abbc6f581e17c7bee7f2be27a9f1
tree34231d5e8807e04c0d97196d6066f5dc7743c2bb
parent9965f04261521bb53b70c054d240b050952ceb6d
Fix possible corruption

- Memory corruption tool detects that
  local char array could be uninitialized even if
  g_io_channel_read_chars returns G_IO_STATUS_NORMAL
  so it should be initialized at declaration.

Change-Id: I927bbb174d0e657b47f27ed42739f503e9fdf6d6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgr-server.c