GitHub
2018-11-30 15:19:52 UTC
Branch: refs/heads/bagder/writeout-memleak
Home: https://github.com/curl/curl
Commit: cd92e7a9b6b77accd6e3e288d0bdc246c250cf19
https://github.com/curl/curl/commit/cd92e7a9b6b77accd6e3e288d0bdc246c250cf19
Author: Daniel Stenberg <***@haxx.se>
Date: 2018-11-30 (Fri, 30 Nov 2018)
Changed paths:
M src/tool_getparam.c
Log Message:
-----------
curl: fix memory leaks when reading from files
The file2memory and file2string functions are used for several commanad
line options when reading from files using the "@file" syntax. If
another string had been set first, these functions would leak the
previously allocated memory.
Reported-by: Brian Carpenter
Fixes #3322
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Home: https://github.com/curl/curl
Commit: cd92e7a9b6b77accd6e3e288d0bdc246c250cf19
https://github.com/curl/curl/commit/cd92e7a9b6b77accd6e3e288d0bdc246c250cf19
Author: Daniel Stenberg <***@haxx.se>
Date: 2018-11-30 (Fri, 30 Nov 2018)
Changed paths:
M src/tool_getparam.c
Log Message:
-----------
curl: fix memory leaks when reading from files
The file2memory and file2string functions are used for several commanad
line options when reading from files using the "@file" syntax. If
another string had been set first, these functions would leak the
previously allocated memory.
Reported-by: Brian Carpenter
Fixes #3322
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.