arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.03k stars 4.78k forks source link

Berry fix potential crash when solidifying loaded bytecode #21583

Closed s-hadinger closed 3 months ago

s-hadinger commented 3 months ago

Description:

Fix a potential crash when solidifying code that was loaded from saved bytecode. The reason is that the parent class is now stored in ptab. This information is lost when loading bytecode, but this is not a problem unless you try to solidify the code. Now the placeholder for the class is set to NULL instead of random content.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass