diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-10-22 16:01:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-10-22 16:01:59 +0000 |
commit | 4145dcd4c45efaaa699582637735b8163a62f90e (patch) | |
tree | bf42d7db89a058462935b07d2d2724e14874b432 /regress/usr.bin | |
parent | ebaee9f60ceeb60af7056c3e821dd3dd5fe489ee (diff) |
While doing delayed expansion of escape sequences in macro arguments,
correctly check for failure of the in-place expansion function.
If an argument not only does recursive delayed expansion
but infinitely recursive delayed expansion, this bug could
result in an ESCAPE_EXPAND assertion failure.
Thanks to Eric van Gyzen <vangyzen at FreeBSD> for finding this bug
by inspecting FreeBSD source code.
Diffstat (limited to 'regress/usr.bin')
0 files changed, 0 insertions, 0 deletions