diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-14 16:16:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-16 19:14:45 +0100 |
commit | f7eea8c235dea6699a21c7b26c218e6c0dc1bf95 (patch) | |
tree | 0888318b2f41a89a2a36238937bfc198b7d267d1 /networking/udhcp/d6_packet.c | |
parent | acf79f9913e4cf9b2889404af6758ec8a0d6b090 (diff) | |
download | busybox-f7eea8c235dea6699a21c7b26c218e6c0dc1bf95.tar.gz |
ash: parser: Fix incorrect eating of backslash newlines
Keeping up with upstream (in our case, 'before patch' code is not buggy).
Upstream commit:
Date: Fri, 11 May 2018 23:41:25 +0800
parser: Fix incorrect eating of backslash newlines
With the introduction of synstack->syntax, a number of references
to the syntax variable was missed during the conversion. This
causes backslash newlines to be incorrectly removed in single
quote context.
This patch also combines these calls into a new helper function
pgetc_top.
Fixes: ab1cecb40478 ("parser: Add syntax stack for recursive...")
Reported-by: Leah Neukirchen <leah@vuxu.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_packet.c')
0 files changed, 0 insertions, 0 deletions