crash-pipe: Fix write the coredump to the file 99/180399/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 28 May 2018 10:46:32 +0000 (12:46 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 29 May 2018 06:35:30 +0000 (08:35 +0200)
commit70c1372b5a85a64d5ea7c5bb20b99429213942be
tree6d24248134b41b4afe8fbc005b6287b10820f996
parent194eeea2ada4a02a00e5fc6517ac6f9fd1e327a8
crash-pipe: Fix write the coredump to the file

splice len parameter is size_t type. On some architectures (eg. aarch64)
splice returned EINVAL when the parameter len was ssize_t variable and
was equal SSIZE_MAX

Change-Id: Id84038662dcd2969a33af1e276a3b4500a780f29
src/crash-pipe/crash-pipe.c