Skip to content

Fix: memory leaks, potential ub, buffer overflows, cppcheck and compiler warnings#552

Merged
dnzbk merged 1 commit intodevelopfrom
fix/memory-leaks
Apr 29, 2025
Merged

Fix: memory leaks, potential ub, buffer overflows, cppcheck and compiler warnings#552
dnzbk merged 1 commit intodevelopfrom
fix/memory-leaks

Conversation

@dnzbk
Copy link
Copy Markdown
Collaborator

@dnzbk dnzbk commented Apr 25, 2025

Description

  • Resolved some found memory leaks
  • Fixed potential buffer overflows and undefined behavior issues
  • Resolved many Cppcheck and compiler warnings
  • Added ENABLE_SANITIZERS CMake option to build with Address, Memory and UndefinedBehavior sanitizers for easier debugging of memory issues
  • updated the POSIX Documentation:
    • Added info about the new ENABLE_SANITIZERS option

Testing

  • macOS Ventura
  • Windows 11
  • Linux Debian 12

@dnzbk dnzbk requested review from luckedea and phnzb April 25, 2025 06:24
@dnzbk dnzbk mentioned this pull request Apr 25, 2025
1 task
@dnzbk dnzbk force-pushed the fix/memory-leaks branch from 817b11b to 0c9acae Compare April 28, 2025 07:22
@dnzbk dnzbk merged commit 3baf9bd into develop Apr 29, 2025
9 checks passed
@dnzbk dnzbk deleted the fix/memory-leaks branch April 29, 2025 04:32
@dnzbk dnzbk mentioned this pull request May 12, 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