Skip to content

memdup0: handle edge case - #18966

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:memdup0-edge
Closed

memdup0: handle edge case#18966
icing wants to merge 1 commit into
curl:masterfrom
icing:memdup0-edge

Conversation

@icing

@icing icing commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

When length is already SIZE_MAX, fail without allocating.

reported-by: Joshua Rogers

When length is already SIZE_MAX, fail without allocating.

reported-by: Joshua Rogers
Comment thread lib/strdup.c
@bagder bagder closed this in 9e2c582 Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants