summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.c
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2018-11-08 08:13:03 +0100
committerSven Eden <sven.eden@prydeworx.com>2018-11-08 08:18:48 +0100
commit2f1ded884ae586639ddb28bc845f78936951307f (patch)
treec747b2ec5a0c90af681f20c3282f19803b925187 /src/shared/bus-util.c
parent7f32f9ec687306fb78dd275f0a37d07e397ea5e3 (diff)
Prep v239.2: Fix handlinjg of program_invocation[_short]_name (#92)
The new detection works, but the consequences weren't enforced strictly enough. This lead to SIGABRT on glibc-2.27 systems, when elogind detected that both variables where different and tried to free them. But program_invocation_short_name is just a pointer into to long name memory, so freeing it is leading to a crash. The resolution is to fully use the new detection: If the used libc provides both, we do not care about anything any more, as the used libc is bound to handle everything correctly. Bug: #92 Closes: #92 Signed-Off-By: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'src/shared/bus-util.c')
0 files changed, 0 insertions, 0 deletions