mirror of https://github.com/arendst/Tasmota.git
Fix watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401)
This commit is contained in:
parent
b9bd558abe
commit
2ddbc7c7fa
|
@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [14.0.0.1]
|
## [14.0.0.1]
|
||||||
### Added
|
### Added
|
||||||
- Enabled watchdog for ESP32 and variants
|
- Enabled watchdog for ESP32 and variants (#21422)
|
||||||
|
|
||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)
|
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)
|
||||||
|
- Watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 (#21417)
|
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 (#21417)
|
||||||
|
|
|
@ -121,6 +121,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||||
|
|
||||||
## Changelog v14.0.0.1
|
## Changelog v14.0.0.1
|
||||||
### Added
|
### Added
|
||||||
|
- Enabled watchdog for ESP32 and variants [#21422](https://github.com/arendst/Tasmota/issues/21422)
|
||||||
|
|
||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
|
|
||||||
|
@ -129,6 +130,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 [#21281](https://github.com/arendst/Tasmota/issues/21281)
|
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 [#21281](https://github.com/arendst/Tasmota/issues/21281)
|
||||||
|
- Watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401)[#21401](https://github.com/arendst/Tasmota/issues/21401)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 [#21417](https://github.com/arendst/Tasmota/issues/21417)
|
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 [#21417](https://github.com/arendst/Tasmota/issues/21417)
|
||||||
|
|
|
@ -497,7 +497,11 @@ void DisplayText(void)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// copy chars
|
// copy chars
|
||||||
if (dp < (linebuf + DISPLAY_BUFFER_COLS)) { *dp++ = *cp++; }
|
if (dp < (linebuf + DISPLAY_BUFFER_COLS)) {
|
||||||
|
*dp++ = *cp++;
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// check escapes
|
// check escapes
|
||||||
|
|
Loading…
Reference in New Issue