busybox/editors
Brian Foley b7928e18b1 sed: Fix backslash parsing for 'w' command arg
If there's any whitespace between w and the filename, parse_file_cmd
writes to the wrong offset when trying to fix up backslashes.

This can be seen in the asan build with busybox sed -e 'w 0\\'

Signed-off-by: Brian Foley <bpfoley@google.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-01-21 13:22:31 +01:00
..
awk.c awk: Fix overly permissive func arg list parsing 2019-01-21 12:59:19 +01:00
cmp.c config: update size information 2018-12-28 03:20:17 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
diff.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
ed.c config: update size information 2018-12-28 03:20:17 +01:00
Kbuild.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
patch_bbox.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
patch_toybox.c config: update size information 2018-12-28 03:20:17 +01:00
patch.c config: update size information 2018-12-28 03:20:17 +01:00
sed_summary.htm doc: add info about sed s/.../.../I modifier 2008-03-01 19:29:56 +00:00
sed.c sed: Fix backslash parsing for 'w' command arg 2019-01-21 13:22:31 +01:00
sed1line.txt add sed mini-doc 2007-11-13 17:13:31 +00:00
vi.c config: update size information 2018-12-28 03:20:17 +01:00