Skip to content

urldata: move cookielist from UserDefined to UrlState#12323

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/cookielist
Closed

urldata: move cookielist from UserDefined to UrlState#12323
bagder wants to merge 1 commit into
masterfrom
bagder/cookielist

Conversation

@bagder

@bagder bagder commented Nov 14, 2023

Copy link
Copy Markdown
Member
  1. Because the value is not strictly set with a setopt option.

  2. Because otherwise when duping a handle when all the set.* fields are first copied and an error happens (think out of memory mid-function), the function would easily free the list before it was deep-copied, which could lead to a double-free.

1. Because the value is not strictly set with a setopt option.

2. Because otherwise when duping a handle when all the set.* fields are
   first copied and an error happens (think out of memory mid-function),
   the function would easily free the list *before* it was deep-copied,
   which could lead to a double-free.
@bagder bagder closed this in 70e3b53 Nov 15, 2023
@bagder bagder deleted the bagder/cookielist branch November 15, 2023 08:42
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.

1 participant