Fix invalid memory read bug 94/48694/2
authorYoumin Ha <youmin.ha@samsung.com>
Fri, 25 Sep 2015 02:31:04 +0000 (11:31 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Fri, 25 Sep 2015 02:40:11 +0000 (11:40 +0900)
commita87f22b90ae3abb0b2c352e918f90089e7181b4b
tree34881d9694d462592361689f0fb9053b2dfbd63a
parentc875171beb6add520b248d248d6d415db468f40f
Fix invalid memory read bug

Fixed a bug that tries to memcpy(read) 4*4bytes(AF_INET6) even
when the ai_family is AF_INET(4bytes).

Change-Id: I7570b40396d62c3c508cf5a290c97ff8403ee396
Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
src/common/tlm-utils.c
src/daemon/tlm-manager.c