Skip to content

imlib.c: fix invalid mkstemps suffix length argument #819

Merged
derf merged 1 commit intoderf:masterfrom
elig0n:fix_mkstemps
Apr 2, 2026
Merged

imlib.c: fix invalid mkstemps suffix length argument #819
derf merged 1 commit intoderf:masterfrom
elig0n:fix_mkstemps

Conversation

@elig0n
Copy link
Copy Markdown
Contributor

@elig0n elig0n commented Mar 26, 2026

Opening a too long URL (>255) with mkstemps handling the temporary file would throw:

feh WARNING: open url: mkstemps failed: Invalid argument

and fail loading the image due to the wrong suffix length passed to it.

@derf
Copy link
Copy Markdown
Owner

derf commented Apr 2, 2026

Thanks!

@derf derf merged commit a37a7db into derf:master Apr 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants