common: fix 'TAINTED_SCALAR' issue 12/49312/1 accepted/tizen/mobile/20151012.223240 accepted/tizen/tv/20151012.223257 accepted/tizen/wearable/20151012.223308 submit/tizen/20151012.120943 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorSuchang Woo <suchang.woo@samsung.com>
Mon, 12 Oct 2015 11:52:24 +0000 (20:52 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Mon, 12 Oct 2015 12:01:58 +0000 (21:01 +0900)
commit1796268e3cb80562a5a75e8c50f1486998e2c251
tree63ada300bd68d7ed5fd83a4352d83f2640cf733e
parent258e413fbc3825edc8962ef346d7132f9409dffd
common: fix 'TAINTED_SCALAR' issue

The message length from received packet should be checked.

Change-Id: I27127409080e2a4244c96f6fb2b4d1f641911d11
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
common/proto.c
common/proto.h