fix a wrong size when clearning allocated memory

This commit is contained in:
iceman1001 committed 2024-06-15 20:36:11 +02:00
1 parent a442f46290
commit 39639c803c
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased]
- Fixed a bad memory erase (@iceman1001)
- Fixed BT serial comms (@iceman1001)
- Changed `intertic.py` - updated and code clean up (@gentilkiwi)
- Added `pm3_tears_for_fears.py` - a ISO14443b tear off script by Pierre Granier
+1 -1
View File
@@ -646,7 +646,7 @@ void rdv40_spiffs_safe_print_tree(void) {
SPIFFS_opendir(&fs, "/", &d);
while ((pe = SPIFFS_readdir(&d, pe))) {
memset(resolvedlink, 0, sizeof(resolvedlink));
memset(resolvedlink, 0, 11 + SPIFFS_OBJ_NAME_LEN);
if (rdv40_spiffs_is_symlink((const char *)pe->name)) {