mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Calloc was calling memset(0) on NULL when its implicit malloc failed, causing a crash in UMM. Instead, only do the memset if the memory allocation succeeds. Fixes issue #4207