Skip to content

Fix: Prevent segfaults in disk state loading and android host resolving#603

Merged
dnzbk merged 1 commit intodevelopfrom
fix/segfault
Jul 2, 2025
Merged

Fix: Prevent segfaults in disk state loading and android host resolving#603
dnzbk merged 1 commit intodevelopfrom
fix/segfault

Conversation

@dnzbk
Copy link
Copy Markdown
Collaborator

@dnzbk dnzbk commented Jul 1, 2025

Description

#599

  • Added null pointer checks before setting filenames and subjects
  • Used explicit static_cast for bool and time_t conversions
  • Added overloaded SetFilename method with null pointer safety

Testing

  • macOS Ventura amd64
  • Linux amd64

@dnzbk dnzbk requested review from luckedea and phnzb July 1, 2025 18:07
@dnzbk dnzbk marked this pull request as draft July 2, 2025 06:15
@dnzbk dnzbk marked this pull request as ready for review July 2, 2025 06:23
@dnzbk dnzbk merged commit 25ba255 into develop Jul 2, 2025
9 checks passed
@dnzbk dnzbk deleted the fix/segfault branch July 2, 2025 06:51
@dnzbk dnzbk changed the title Fix: Prevent segfaults in disk state loading Fix: Prevent segfaults in disk state loading and android host resolving Jul 2, 2025
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.

2 participants