esp-idf/components
Ivan Grokhotkov 1d44e40fb1 hal: spi_flash: avoid calling memcpy with NULL buffer
In practice, calling memcpy with NULL buffer and 0 size works on the
ESP32, but the C standard considers this an undefined behavior.
When building with UBSAN checks enabled, compiler will insert a check
that memcpy argument is non-NULL, regardless of the size argument.

This caused a failure in tools/test_apps/system/panic, which is built
with USBAN enabled for several components.
2021-07-09 11:24:25 +02:00
..
2021-06-24 13:16:14 +03:00
2021-05-17 03:43:02 +02:00
2021-07-01 19:53:50 +08:00
2021-07-09 12:29:56 +08:00
2021-07-09 12:29:56 +08:00
2021-07-01 19:53:50 +08:00
2021-05-12 17:53:32 +08:00
2021-07-01 19:53:50 +08:00
2021-07-01 19:53:50 +08:00
2021-07-01 19:53:50 +08:00
2021-07-01 15:45:05 +02:00
2021-06-19 14:27:44 +08:00
2021-06-29 21:09:27 +08:00