Skip to content

Guard missing packed payload in message loader#1

Open
brothercorvo wants to merge 3 commits intotorlando-tech:transport-pools-psramfrom
brothercorvo:codex/guard-missing-packed-message
Open

Guard missing packed payload in message loader#1
brothercorvo wants to merge 3 commits intotorlando-tech:transport-pools-psramfrom
brothercorvo:codex/guard-missing-packed-message

Conversation

@brothercorvo
Copy link
Copy Markdown

Summary

  • guard against missing or empty packed payloads when loading stored LXMF messages
  • return an empty message and log the bad file instead of dereferencing a null pointer
  • fixes the T-Deck boot crash triggered while refreshing the conversation list with malformed stored message data

Verification

  • reproduced the crash from USB boot logs on the T-Deck
  • rebuilt and flashed the patched firmware
  • verified boot now reaches UIManager initialized and System Ready - Enjoy! while logging the malformed message path instead of panicking

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