Skip to content

Fix an issue where certain string escapes could cause a stack overflow

Compare
Choose a tag to compare
@timothyb89 timothyb89 released this 15 Oct 21:53
· 39 commits to master since this release
4b1a28c

This release includes a fix for an issue where certain quoted strings containing invalid escapes could cause a stack overflow, for example:

ARG FOO="hello\/world"

The error is now properly reported without causing an overflow, however strings like the example are still (for now) considered invalid. Docker may handle invalid escape sequences differently (and seems to consider this particular escape valid despite it being nonsensical).