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
|
||||
|
||||
### Fixed
|
||||
- Zigbee fix crash on ESP8266 #17397
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -165,8 +165,8 @@ bool ZbLoad_inner(const char *filename, File &fp) {
|
|||
if (filename_imported == nullptr) {
|
||||
// allocate only once the filename for multiple entries
|
||||
// freed only by `ZbUnload`
|
||||
filename_imported = (char*) malloc(strlen(filename)+1);
|
||||
strcpy(filename_imported, filename);
|
||||
filename_imported = (char*) malloc(strlen_P(filename)+1);
|
||||
strcpy_P(filename_imported, filename);
|
||||
}
|
||||
|
||||
// there is a non-empty line, containing no space/tab/crlf
|
||||
|
|
Loading…
Reference in New Issue