Skip to content
Snippets Groups Projects
Unverified Commit 3654f83a authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

libgluonutil: add missing libgen import (#3395)


The import of libgen.h required for basename() was missing. This lead to
undesired behavior on 64 bit systems, where only the upper 32-bit of the
returned pointer was used.

On ARM64 systems such as mediatek-filogic, this lead to a signed extend
of the 32-bit address, leading to a crash of respondd.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent b180fc28
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
#include <errno.h>
#include <glob.h>
#include <libgen.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment