Skip to content

duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set#12317

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/duphandle-copypostfields
Closed

duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set#12317
bagder wants to merge 1 commit into
masterfrom
bagder/duphandle-copypostfields

Conversation

@bagder

@bagder bagder commented Nov 13, 2023

Copy link
Copy Markdown
Member

Previously it would unconditionally use the size, which is set to -1 when strlen is requested.

Updated test 544 to verify.

Previously it would unconditionally use the size, which is set to -1
when strlen is requested.

Updated test 544 to verify.
@github-actions github-actions Bot added the tests label Nov 13, 2023
@bagder bagder changed the title duphandle: use strdup to clone *COPYPOSTFIELDS if not size is set duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set Nov 13, 2023
@bagder bagder closed this in baf7b80 Nov 13, 2023
@bagder bagder deleted the bagder/duphandle-copypostfields branch November 13, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant