mirror of https://github.com/arendst/Tasmota.git
parent
6658c8d269
commit
f8b56e1058
|
@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Zigbee fix crash on ESP8266 #17397
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -165,8 +165,8 @@ bool ZbLoad_inner(const char *filename, File &fp) {
|
||||||
if (filename_imported == nullptr) {
|
if (filename_imported == nullptr) {
|
||||||
// allocate only once the filename for multiple entries
|
// allocate only once the filename for multiple entries
|
||||||
// freed only by `ZbUnload`
|
// freed only by `ZbUnload`
|
||||||
filename_imported = (char*) malloc(strlen(filename)+1);
|
filename_imported = (char*) malloc(strlen_P(filename)+1);
|
||||||
strcpy(filename_imported, filename);
|
strcpy_P(filename_imported, filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
// there is a non-empty line, containing no space/tab/crlf
|
// there is a non-empty line, containing no space/tab/crlf
|
||||||
|
|
Loading…
Reference in New Issue