Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgluonutil: add missing libgen import #3395

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

blocktrron
Copy link
Member

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.

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: David Bauer <mail@david-bauer.net>
@github-actions github-actions bot added the 3. topic: package Topic: Gluon Packages label Dec 17, 2024
@blocktrron
Copy link
Member Author

Note to backport this to v2023.2.x.

@blocktrron blocktrron merged commit 3654f83 into freifunk-gluon:main Dec 18, 2024
9 checks passed
@blocktrron blocktrron added the backport v2023.2.x Backport this pull request to v2023.1.x label Dec 18, 2024
github-actions bot pushed a commit that referenced this pull request Dec 18, 2024
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: David Bauer <mail@david-bauer.net>
(cherry picked from commit 3654f83)
Copy link

Successfully created backport PR for v2023.2.x:

Copy link

Git push to origin failed for v2023.2.x with exitcode 1

blocktrron added a commit that referenced this pull request Dec 19, 2024
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: David Bauer <mail@david-bauer.net>
(cherry picked from commit 3654f83)

Co-authored-by: David Bauer <mail@david-bauer.net>
RolandoMagico pushed a commit to RolandoMagico/gluon that referenced this pull request Dec 25, 2024
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: David Bauer <mail@david-bauer.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. topic: package Topic: Gluon Packages backport v2023.2.x Backport this pull request to v2023.1.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant