Skip to content

[fix] off-by-one malloc#458

Open
klaatu01 wants to merge 1 commit intoapache:masterfrom
klaatu01:master
Open

[fix] off-by-one malloc#458
klaatu01 wants to merge 1 commit intoapache:masterfrom
klaatu01:master

Conversation

@klaatu01
Copy link
Contributor

@klaatu01 klaatu01 commented Feb 9, 2026

Still seeing ocassional issues even after #412
During further investigation of the Token Auth supplier crash when the runtime is handling AuthChallenges, we found a potential off-by-one buffer overflow in the token allocation code.

strcpy copies the terminating \0, but the buffer is allocated using size(), which does not include space for it, resulting in an off-by-one write.

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.

1 participant