Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: prevent integer overflow and underflow in terminal width check
- Updated `athr_terminal_win32.c` to separate overflow and underflow checks. - Added explicit handler for underflow with a suitable error message. The changes rectify a vulnerability where terminal width could trigger unexpected behavior by preventing underflow. This ensures robust error handling by providing specific feedback for both overflow and underflow cases. 🚀
- Loading branch information