mirror of
git://git.sv.gnu.org/sed
synced 2026-11-21 01:43:22 +03:00
67b3fcc980a9e20c13d0bf4ff35c97ab84e96b5b
* sed/execute.c (str_append_modified): Upon encountering an incomplete multi-byte sequence in a substitution replacement string, do not treat mbrtowc's return value of -2 as a large, positive number. * testsuite/subst-mb-incomplete.sh: New file/test. * testsuite/Makefile.am (T): Add it. Reported by Hanno Böck in http://debbugs.gnu.org/22127. Hanno used the AFL fuzzer to find the segfault-inducing input from which I derived the test's input. Introduced by v4.2.2-76-g78e8e58, this bug was never in a release.
This is the GNU implementation of sed, the Unix stream editor. See the NEWS file for a brief summary and the ChangeLog for more detailed descriptions of changes. See the file INSTALL for generic compilation and installation instructions. See the file BUGS for instructions about reporting bugs. The file README.boot gives instructions for making a "bootstrap" version of sed on systems which lack any pre-existing and working version of sed.
Description
SED (stream editor) - неинтерактивный текстовый редактор командной строки
https://www.gnu.org/software/sed/
3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Shell
43%
C
26.4%
Perl
16.5%
sed
7.3%
Makefile
5.2%
Other
1.6%