Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
f40c9b83
Commit
f40c9b83
authored
20 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
libcurl leaked memory for cookies with the "max-age" field set.
parent
b9e082b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+4
-1
4 additions, 1 deletion
CHANGES
lib/cookie.c
+2
-0
2 additions, 0 deletions
lib/cookie.c
with
6 additions
and
1 deletion
CHANGES
+
4
−
1
View file @
f40c9b83
...
...
@@ -6,8 +6,11 @@
Changelog
Gisle (16 October 2004)
Daniel (16 October 2004)
- runekl at opoint.com found out (and provided a fix) that libcurl leaked
memory for cookies with the "max-age" field set.
Gisle (16 October 2004)
- Issue 50 in TODO-RELEASE; Added Traian Nicolescu's patches for threaded
resolver on Windows. Plugged some potential handle and memory leaks.
...
...
This diff is collapsed.
Click to expand it.
lib/cookie.c
+
2
−
0
View file @
f40c9b83
...
...
@@ -111,6 +111,8 @@ static void freecookie(struct Cookie *co)
free
(
co
->
name
);
if
(
co
->
value
)
free
(
co
->
value
);
if
(
co
->
maxage
)
free
(
co
->
maxage
);
free
(
co
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment