diff options
author | Brian Foley <bpfoley@google.com> | 2019-01-02 13:09:45 -0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-21 13:22:31 +0100 |
commit | b7928e18b14a2bc2aa27f82b80803fdff68c328a (patch) | |
tree | 85bb9458e9e48a09089bf4470e988e3ac2dad3d2 /coreutils/cksum.c | |
parent | 1c42c18e9601ee1416d61663f5a91874954c524d (diff) | |
download | busybox-b7928e18b14a2bc2aa27f82b80803fdff68c328a.tar.gz |
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>
Diffstat (limited to 'coreutils/cksum.c')
0 files changed, 0 insertions, 0 deletions