Fix preparing report for applications with too long name 45/215845/5
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 16 Oct 2019 12:20:47 +0000 (14:20 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 4 Nov 2019 14:25:09 +0000 (15:25 +0100)
commitff274f5689c2dd52493ecd8a6d56d7a64dc2de83
tree3cd99538139ec79685abae558460383b8d8e0f4b
parent4284a1845667b2decb10cdab7f9404ade2b847e6
Fix preparing report for applications with too long name

Crash-manager gets the application name from /proc/<pid>/cmdline, but
this value can be modified (e.g. by modify argv[0]), and may be
incorrect. Now report file name is prepared based on the executable
path.

Change-Id: Ia7f3b495bf501a67620888c99d49832e0fd6a23d
src/crash-manager/crash-manager.c
src/crash-manager/so-info.c