joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

fix: Prevent crash when using sdcard and partition filesystems together #189

Closed nebkat closed 2 months ago

nebkat commented 2 months ago

Crash occurs if a partition filesystem is opened after an sdcard partition, where p->partition is null.

Check that partition is defined before accessing.

BrianPugh commented 2 months ago

Thanks! I see this and your other PR; do you intend to make more PRs soon? If not, I'll cut a release today.

nebkat commented 2 months ago

That should be all for now - thanks!