dzungpv / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266/ESP32 module
GNU General Public License v3.0
68 stars 13 forks source link

Compliation warning fixes + strcat usage fix #33

Closed pzbitskiy closed 2 weeks ago

pzbitskiy commented 1 month ago
  1. Fix strcat copying into a string literal. It is either a segfault (if it is allocated in RO memory page, idk about ESP much), or memory corruption behind the string.
  2. Fix string comparison - the values are char* and not String => strcmp should be used.