Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warnings related to strings #697

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 29, 2024

  1. Fix compiler warnings related to strings

    Fix string truncation and overflow warnings so the compiler flags
    stringop-overflow and stringop-truncation can be enabled.
    
    This shouldn't change any behaviour nor fix any bugs. It is just
    to be able to run the compiler with those flags so future bugs
    can be avoided. However I have added some extra checks for string
    lengths.
    
    Most changes is to avoid using strncat and instead use strcat. This
    doesn't make the code safer but removes the false safeness of using
    strncat wrongly.
    averater committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4b5ee38 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    d29299a View commit details
    Browse the repository at this point in the history