arduino-esp32/libraries/WebServer/src
Tim c4fcab28e4
Fix issue #5506 "WebServer serveStatic () can cause LoadProhibited exception in _svfprintf_r" (#5508)
"Using a Core Debug Level of Verbose and the WebServer serveStatic() function with the default value of nullptr for its cache_header argument, results in a LoadProhibited exception in _svfprintf_r().
This is because serveStatic() calls log_v() with cache_header corresponding to a "%s" in its format but without checking that cache_header is not nullptr, and then logv() (indirectly) calls _svfprintf_r().
On the other hand, with a Core Debug Level other than Verbose, this does not occur."

Changed serveStatic() to the check value of cache_header and if it is nullptr, instead pass an empty string to log_v().
2021-08-11 14:31:07 +03:00
..
detail Fix issue #5506 "WebServer serveStatic () can cause LoadProhibited exception in _svfprintf_r" (#5508) 2021-08-11 14:31:07 +03:00
uri Add Uri with support for regexUri and globUri (#3441) 2020-01-20 15:21:01 +02:00
HTTP_Method.h Use HTTP method table from ESP-IDF's nghttp (#4900) 2021-03-05 13:40:52 +02:00
Parsing.cpp Use HTTP method table from ESP-IDF's nghttp (#4900) 2021-03-05 13:40:52 +02:00
Uri.h Add flash helper constructor to Uri 2020-10-19 16:20:49 +02:00
WebServer.cpp IDF master c13afea63 (#5214) 2021-05-31 16:32:51 +03:00
WebServer.h Add sendContent overload that takes a const char* and a length (#4276) 2020-11-02 19:17:02 +02:00