Fix a bug about ReadParcelable Impl 41/262641/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Aug 2021 02:06:23 +0000 (11:06 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Aug 2021 07:01:28 +0000 (16:01 +0900)
commit7e782b560198a5baab88dd9fec89ef4d2a1526e5
tree30183279838d6f5967ed2e91f0a8663a2f83afea
parentf61ad32b21308885a2eb6411b4cf69f7e6c464ea
Fix a bug about ReadParcelable Impl

In 32-bit machine, the long size is 4 bytes. When calling the
ReadInt64() with timespec.tv_nsec. the buffer overflow is occurred.

Change-Id: Id5bcb26891c63b893b20d50e7dab4c38dbaea14b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/parcel-header-internal.cc