Division by zero if terminal width is 2
Unknown
Vulnerability Details
## Summary:
In fly() there will be a division by zero if progress bar width is 2.
That can happen if terminal width is 2.
## Steps To Reproduce:
This script crash:
stty rows 10 cols 2 ; curl --progress-bar somefile > temp
## Impact
I believe that if it's possible to set terminal width for a service, then that service will not be able to curl.
Actions
View on HackerOneReport Stats
- Report ID: 774883
- State: Closed
- Substate: informative
- Upvotes: 1