| commit | d68ea07b28aa3c8d1959358b7da7e7f3ba148319 | [log] [tgz] |
|---|---|---|
| author | Bruno Haible <bruno@clisp.org> | Fri Feb 14 11:47:48 2025 +0100 |
| committer | Bruno Haible <bruno@clisp.org> | Fri Feb 14 11:48:30 2025 +0100 |
| tree | 13716dd6850350b9cb80b857da0c362e100ae64d | |
| parent | bc17565f9a4caca27161609c526b776287a8270e [diff] |
Fix a buffer overrun in the GB18030 converter (regression 2023-05-29). Reported by Nick Wellnhofer <wellnhofer@aevum.de>. * lib/gb18030_2005.h (gb18030_2005_wctomb): Return RET_TOOSMALL if there is not enough room for 4 bytes.