Commits


Set an upper limit


Only perform check if realpath() succeeds


Attempt to fix path traversal (security)


Corrected if


FindHistory2: cleaned up autofix


Updated the changelog


Cleaned up autofix


Moved is_valid_login_name()


is_valid_filename() has been moved


Added is_valid_filename()


Changed target


MR_LDLIBS: -lbsd -lcrypt


Potential fix for code scanning alert no. 7: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Potential fix for code scanning alert no. 9: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Potential fix for code scanning alert no. 6: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Potential fix for code scanning alert no. 6: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Potential fix for code scanning alert no. 8: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Cleaned up autofix


80 columns


Make the assignment in the if


Updated the revision history


Merge pull request #7 from uhlin/alert-autofix Potential fix for code scanning alert no. 5: Uncontrolled data used in path expression


Potential fix for code scanning alert no. 5: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>


Merge pull request #6 from uhlin/alert-autofix-5 Potential fix for code scanning alert no. 5: Uncontrolled data used in path expression


Potential fix for code scanning alert no. 5: Uncontrolled data used in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>