Skip to content

Conversation

nyanpasu64
Copy link
Collaborator

Hopefully should guard against slots.bin corruption when the GBS-C crashes.

I haven't actually seen reading slots.bin fail since adding this check. I'll merge it if it happens and prevents corruption.

Do we trust SPIFFS at all?

Hopefully should guard against slots.bin corruption when the GBS-C
crashes.
@nyanpasu64 nyanpasu64 marked this pull request as ready for review June 10, 2023 19:22
@nyanpasu64
Copy link
Collaborator Author

nyanpasu64 commented Jun 10, 2023

will just merge it, it can't hurt

...or idk even, how spiffs_hydro_read works

is the problem that running wifi callbacks in a deep call stack (talking to hardware) overflows the stack, and SlotMetaArray slotsObject; gets overwritten when we run request->getParam(0)?

@nyanpasu64 nyanpasu64 marked this pull request as draft June 10, 2023 19:27
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.

1 participant