Skip to content

Conversation

@multiplemonomials
Copy link
Collaborator

Summary of changes

Noticed this bug on the Arduino bug tracker which is happening due to this->_bd being uninitialized in LittleFileSystem2, leading to undefined behavior if unmount() is called after constructing the class.

Impact of changes

Should no longer crash in this situation.

Migration actions required

Documentation

None


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[X] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

@multiplemonomials multiplemonomials merged commit e420c07 into master Apr 17, 2025
52 checks passed
@multiplemonomials multiplemonomials deleted the bugfix/lfsv2-init-class-vars branch April 17, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants