Bug introduced with commit
f15beea76
"Fix memory leak in launcher-linux.c"
Need to try opening the actual 'client' path, not just the 'clientname'
file name.
Reported-by: Michael Wojcik <michael.wojcik@microfocus.com>
https://bugs.kde.org/show_bug.cgi?id=422261
(actually affected all x86 and nanomips regardless of host bitness)
415293 Incorrect call-graph tracking due to new _dl_runtime_resolve_xsave*
422174 unhandled instruction bytes: 0x48 0xE9 (REX prefixed JMP instruction)
+422261 platform selection fails for unqualified client name
422623 epoll_ctl warns for uninitialized padding on non-amd64 64bit arches
423021 PPC: Add missing ISA 3.0 documentation link and HWCAPS test.
424298 amd64: Implement RDSEED
if (strcmp (client, clientname) != 0)
VG_(debugLog)(2, "launcher", "selecting platform for '%s'\n", client);
- if ((fd = open(clientname, O_RDONLY)) < 0) {
+ if ((fd = open(client, O_RDONLY)) < 0) {
return_null:
free (client);
return NULL;