1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
Radoslav Georgiev abfd154efd
examples/http2-down/upload: add error checks
If `index.html` does not exist in the directory from which the example
is invoked, the fopen(upload, "rb") invocation in `setup` would fail,
returning NULL.  This value is subsequently passed as the FILE* argument
of the `fread` invocation in the `read_callback` function, which is the
actual cause of the crash (apparently `fread` assumes that argument to
be non-null).

In addition, mitigate some possible crashes of similar origin.

Closes #5463
2020-06-02 00:14:08 +02:00
..
2020-05-13 18:24:34 -04:00
2019-11-28 12:58:47 +01:00
2018-12-03 23:13:40 +01:00
2019-12-06 13:20:30 +01:00
2020-01-16 11:55:56 +01:00
2019-12-06 13:20:30 +01:00
FAQ
2020-05-13 16:51:19 +02:00
2020-04-14 13:03:40 +02:00
2020-05-25 19:44:04 +00:00
2020-03-23 22:22:22 +01:00
2020-05-15 21:58:12 +02:00
2020-05-25 19:44:04 +00:00
2018-06-03 12:14:45 +00:00
2020-04-14 23:08:43 +02:00
2019-11-28 12:58:47 +01:00
2018-10-12 21:04:37 +00:00
2017-12-04 09:15:39 +01:00
2020-05-11 10:12:04 +02:00
2020-04-29 08:02:29 +02:00
2020-05-08 08:39:17 +02:00
2018-09-23 22:24:02 +00:00

curl logo

Documentation

You'll find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you'd rather see the rendered version of the documentation, check out the curl web site's documentation section for general curl stuff or the libcurl section for libcurl related documentation.