Division by zero if terminal width is 2

Disclosed: 2021-02-08 07:53:40 By danielmarjamaki To curl
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 HackerOne
Report Stats
  • Report ID: 774883
  • State: Closed
  • Substate: informative
  • Upvotes: 1
Share this report