Enhancements and Fixes
Bug Fixes
- Platform Compatibility in GPG Check:
- Added platform-specific handling for
strncpy
incheck_gpg_installation
to ensure cross-platform compatibility.- On Windows (
_WIN32
), usesstrncpy_s
with_TRUNCATE
. - On non-Windows systems, falls back to
strncpy
with manual null-termination.
- On Windows (
- This resolves potential buffer overflow issues and ensures consistent behavior across operating systems.
- Added platform-specific handling for
Developer Notes
- Affected File:
src/system_check.c
- Functions Modified:
check_gpg_installation
- No changes to external APIs or command-line interface.
This release improves cross-platform robustness for GPG installation checks while maintaining backward compatibility. Developers are encouraged to test the updated functionality on their respective platforms.
Full Changelog: v1.2.0...v1.2.1