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
2021-07-26 16:04:20 +03:00
2021-07-26 15:56:05 +03:00
2019-04-16 03:08:50 +02:00
2021-07-17 01:57:49 +03:00
2016-10-06 07:09:44 -06:00
2021-07-22 17:05:54 +03:00

Arduino core for the ESP32

Build Status Documentation Status

Need help or have a question? Join the chat at https://gitter.im/espressif/arduino-esp32

Contents

ESP32-S2 and ESP32-C3 Support

If you want to test ESP32-S2 and/or ESP32-C3 through the board manager, please use the development release link:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

Now you can install the latest 2.0.0 version from the boards manager.

Development Status

Latest Stable Release Release Version Release Date Downloads

Latest Development Release Release Version Release Date Downloads

Documentation

You can use Arduino-ESP32 Online Documentation to get all information about this project.

Decoding exceptions

You can use EspExceptionDecoder to get meaningful call trace.

Issue/Bug report template

Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as for reference.

Finally, if you are sure no one else had the issue, follow the issue template while reporting any issue.

Contributing

We welcome contributions to the Arduino ESP32 project!

See contributing in the documentation for more information on how to contribute to the project.

Description
No description provided
Readme 668 MiB
Languages
C 77.6%
C++ 21.6%
Python 0.7%