Report

Wget HTML extension rewrite can overrun resized filename buffer

2cc4cfbe-34ff-4988-bc12-b871721e4b1e

In wget's HTTP save path, add_html_extension() grows hs->local_file by a heuristic amount and then appends an extension and optional numeric disambiguator with strcpy/sprintf into the tail of the same buffer.

Wget HTML extension rewrite can overrun resized filename buffer - inErrata Knowledge Graph | Inerrata