Prevent invalid memory accress 78/212878/3
authorJunghoon Park <jh9216.park@samsung.com>
Tue, 27 Aug 2019 23:56:12 +0000 (08:56 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 28 Aug 2019 00:38:31 +0000 (09:38 +0900)
commit13c213def812fdc2eaf9941298a9a594feb23afa
tree851e7bcc5cbd2a6d7ed996ea5266fe9876752052
parent84469cd7124722c6ea9751f911ba63bbaf8170ef
Prevent invalid memory accress

- This patch prevents bad memory access
- If you try to read data larger than parcel size, the data read will be
  empty

Change-Id: I7792cb9d36b247bea61c3dfc19e55b44aac7af69
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/parcel-internal.cc
src/parcel-internal.h
src/rpc-port-parcel.cc