Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #273698

Category wget
Changed by Tim Rühsen <tim.ruehsenohnoyoudont@gmx.de>
Changed at Thu 02 Jul 2026 13:23:46
Repository https://gitlab.com/gnuwget/wget.git
Project wget
Branch master
Revision f76978a51ba9365e7ecaed96c1cfb73197a38ca2

Comments

Regression: Fix buffer overflow in html_quote_string()
The regression has been introduced in commit dd692d9 and
is not part of any release.

The tests allow the address sanitizer to find the issue.

* src/convert.c: Fix string size calculation.
* tests/unit-tests.c: Added tests including tests for html_quote_string().
* tests/unit-tests.h: Add definitions for the test functions.

Reported-by: Trung Nguyen <trungnh@cystack.net>

Changed files