#
b8514216 |
| 25-Apr-2017 |
Marcel Raad |
lib: remove unused code This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/cu
lib: remove unused code This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/curl/curl/pull/1448
show more ...
|
Revision tags: curl-7_54_0 |
|
#
66de5634 |
| 10-Mar-2017 |
Sylvestre Ledru |
Improve code readbility ... by removing the else branch after a return, break or continue. Closes #1310
|
#
cbff751e |
| 28-Feb-2017 |
Alexis La Goutte |
build: fix gcc7 implicit fallthrough warnings Mark intended fallthroughs with /* FALLTHROUGH */ so that gcc will know it's expected and won't warn on [-Wimplicit-fallthrough=].
build: fix gcc7 implicit fallthrough warnings Mark intended fallthroughs with /* FALLTHROUGH */ so that gcc will know it's expected and won't warn on [-Wimplicit-fallthrough=]. Closes https://github.com/curl/curl/pull/1297
show more ...
|
Revision tags: curl-7_53_1 |
|
#
86f56607 |
| 23-Feb-2017 |
Daniel Stenberg |
formdata: check for EOF when reading from stdin Reported-by: shachaf@users.noreply.github.com Fixes #1281
|
Revision tags: curl-7_53_0 |
|
#
e50abe64 |
| 25-Dec-2016 |
Daniel Stenberg |
formdata: use NULL, not 0, when returning pointers
|
Revision tags: curl-7_52_1, curl-7_52_0 |
|
#
1c3e8bbf |
| 14-Dec-2016 |
Daniel Stenberg |
checksrc: warn for assignments within if() expressions ... they're already frowned upon in our source code style guide, this now enforces the rule harder.
|
#
b228d295 |
| 13-Dec-2016 |
Daniel Stenberg |
checksrc: stricter no-space-before-paren enforcement In order to make the code style more uniform everywhere
|
#
6832c1d4 |
| 23-Nov-2016 |
Daniel Stenberg |
checksrc: move open braces to comply with function declaration style
|
#
dbadaebf |
| 23-Nov-2016 |
Daniel Stenberg |
checksrc: code style: use 'char *name' style
|
#
f682156a |
| 11-Nov-2016 |
Daniel Stenberg |
Curl_rand: fixed and moved to rand.c Now Curl_rand() is made to fail if it cannot get the necessary random level. Changed the proto of Curl_rand() slightly to provide a number o
Curl_rand: fixed and moved to rand.c Now Curl_rand() is made to fail if it cannot get the necessary random level. Changed the proto of Curl_rand() slightly to provide a number of ints at once. Moved out from vtls, since it isn't a TLS function and vtls provides Curl_ssl_random() for this to use. Discussion: https://curl.haxx.se/mail/lib-2016-11/0119.html
show more ...
|
Revision tags: curl-7_51_0 |
|
#
502acba2 |
| 30-Sep-2016 |
Daniel Stenberg |
strcasecompare: is the new name for strequal() ... to make it less likely that we forget that the function actually does case insentive compares. Also replaced several invokes of the
strcasecompare: is the new name for strequal() ... to make it less likely that we forget that the function actually does case insentive compares. Also replaced several invokes of the function with a plain strcmp when case sensitivity is not an issue (like comparing with "-").
show more ...
|
#
9885c950 |
| 08-Oct-2016 |
Daniel Stenberg |
formpost: avoid silent snprintf() truncation The previous use of snprintf() could make libcurl silently truncate some input data and not report that back on overly large input, which cou
formpost: avoid silent snprintf() truncation The previous use of snprintf() could make libcurl silently truncate some input data and not report that back on overly large input, which could make data get sent over the network in a bad format. Example: $ curl --form 'a=b' -H "Content-Type: $(perl -e 'print "A"x4100')"
show more ...
|
#
bdf162af |
| 04-Oct-2016 |
Daniel Stenberg |
formpost: trying to attach a directory no longer crashes The error path would previously add a freed entry to the linked list. Reported-by: Toby Peterson Fixes #1053
|
Revision tags: curl-7_50_3, curl-7_50_2, curl-7_50_1, curl-7_50_0 |
|
#
434f8d03 |
| 21-Jun-2016 |
Daniel Stenberg |
internals: rename the SessionHandle struct to Curl_easy
|
Revision tags: curl-7_49_1, curl-7_49_0 |
|
#
4f45240b |
| 29-Apr-2016 |
Daniel Stenberg |
lib: include curl_printf.h as one of the last headers curl_printf.h defines printf to curl_mprintf, etc. This can cause problems with external headers which may use __attribute__((fo
lib: include curl_printf.h as one of the last headers curl_printf.h defines printf to curl_mprintf, etc. This can cause problems with external headers which may use __attribute__((format(printf, ...))) markers etc. To avoid that they cause problems with system includes, we include curl_printf.h after any system headers. That makes the three last headers to always be, and we keep them in this order: curl_printf.h curl_memory.h memdebug.h None of them include system headers, they all do funny #defines. Reported-by: David Benjamin Fixes #743
show more ...
|
#
a71012c0 |
| 03-Apr-2016 |
Daniel Stenberg |
code: style updates
|
#
36b5dff0 |
| 03-Apr-2016 |
Daniel Stenberg |
formdata: use appropriate fopen() macros
|
Revision tags: curl-7_48_0 |
|
#
7e312bdf |
| 18-Mar-2016 |
Steve Holme |
formdata.c: Fixed compilation warning formdata.c:390: warning: cast from pointer to integer of different size Introduced in commit ca5f9341ef this happens because a char*, which is
formdata.c: Fixed compilation warning formdata.c:390: warning: cast from pointer to integer of different size Introduced in commit ca5f9341ef this happens because a char*, which is 32-bits wide in 32-bit land, is being cast to a curl_off_t which is 64-bits wide where 64-bit integers are supported by the compiler. This doesn't happen in 64-bit land as a pointer is the same size as a curl_off_t. This fix doesn't address the fact that a 64-bit value cannot be used for CURLFORM_CONTENTLEN when set in a form array and compiled on a 32-bit platforms, it does at least suppress the compilation warning.
show more ...
|
#
c2a809cd |
| 29-Feb-2016 |
Daniel Stenberg |
formpost: fix memory leaks in AddFormData error branches Reported-by: Dmitry-Me Fixes #688
|
Revision tags: curl-7_47_1 |
|
#
4af40b36 |
| 02-Feb-2016 |
Daniel Stenberg |
URLs: change all http:// URLs to https://
|
Revision tags: curl-7_47_0 |
|
#
738b0ba0 |
| 07-Dec-2015 |
Jay Satiro |
formdata: Check if length is too large for memory - If the size of the length type (curl_off_t) is greater than the size of the size_t type then check before allocating memory to make su
formdata: Check if length is too large for memory - If the size of the length type (curl_off_t) is greater than the size of the size_t type then check before allocating memory to make sure the value of length will fit in a size_t without overflow. If it doesn't then return CURLE_BAD_FUNCTION_ARGUMENT. Bug: https://github.com/bagder/curl/issues/425#issuecomment-154518679 Reported-by: Steve Holme
show more ...
|
Revision tags: curl-7_46_0 |
|
#
ca5f9341 |
| 23-Oct-2015 |
Daniel Stenberg |
formadd: support >2GB files on windows Closes #425
|
#
49a99134 |
| 31-Oct-2015 |
Daniel Stenberg |
curl.h: s/HTTPPOST_/CURL_HTTPOST_ Fixes a name space pollution at the cost of programs using one of these defines will no longer compile. However, the vast majority of libcurl progra
curl.h: s/HTTPPOST_/CURL_HTTPOST_ Fixes a name space pollution at the cost of programs using one of these defines will no longer compile. However, the vast majority of libcurl programs that do multipart formposts use curl_formadd() to build this list. Closes #506
show more ...
|
Revision tags: curl-7_45_0 |
|
#
11903732 |
| 26-Sep-2015 |
Tatsuhiro Tsujikawa |
build: fix failures with -Wcast-align and -Werror Closes #457
|
Revision tags: curl-7_44_0, curl-7_43_0 |
|
#
33ee4118 |
| 02-Jun-2015 |
Daniel Stenberg |
checksrc: detect fopen() for text without the FOPEN_* macros Follow-up to e8423f9ce150 with discussionis in https://github.com/bagder/curl/pull/258 This check scans for fopen()
checksrc: detect fopen() for text without the FOPEN_* macros Follow-up to e8423f9ce150 with discussionis in https://github.com/bagder/curl/pull/258 This check scans for fopen() with a mode string without 'b' present, as it may indicate that an FOPEN_* define should rather be used.
show more ...
|