Skip to content

Commit

Permalink
fix a wrong size when clearning allocated memory
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Jun 15, 2024
1 parent a442f46 commit 39639c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion armsrc/spiffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {

Expand Down

0 comments on commit 39639c8

Please sign in to comment.