diff options
| author | Russ Cox <rsc@golang.org> | 2022-02-02 16:44:35 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-04-04 10:59:27 +0000 |
| commit | 1af60b2f4990bffdd1b050ffd11e978578d1e38f (patch) | |
| tree | 1add02d574269d3af924fce2e1981debebbb56e3 /src/os/exec/exec_windows_test.go | |
| parent | 492c85ab84dc1d4d19be0466d2d73f4a6174f07e (diff) | |
| download | go-1af60b2f4990bffdd1b050ffd11e978578d1e38f.tar.xz | |
regexp/syntax: add and use ErrInvalidDepth
The fix for #51112 introduced a depth check but used
ErrInternalError to avoid introduce new API in a CL that
would be backported to earlier releases.
New API accepted in proposal #51684.
This CL adds a distinct error for this case.
For #51112.
Fixes #51684.
Change-Id: I068fc70aafe4218386a06103d9b7c847fb7ffa65
Reviewed-on: https://go-review.googlesource.com/c/go/+/384617
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/exec_windows_test.go')
0 files changed, 0 insertions, 0 deletions
