Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOML: infinite loop #4096

Open
masatake opened this issue Oct 8, 2024 · 1 comment
Open

TOML: infinite loop #4096

masatake opened this issue Oct 8, 2024 · 1 comment

Comments

@masatake
Copy link
Member

masatake commented Oct 8, 2024

$ curl -LO https://github.com/BurntSushi/toml/raw/refs/heads/master/internal/toml-test/tests/invalid/encoding/bad-utf8-at-end.toml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   242  100   242    0     0   1901      0 --:--:-- --:--:-- --:--:--  1901
$ timeout --verbose 10 ~/bin/ctags -o - ./bad-utf8-at-end.toml 
timeout: sending signal TERM to command ‘/home/yamato/bin/ctags’
$
@masatake
Copy link
Member Author

masatake commented Oct 8, 2024

Putting --exclude=bad-utf8-at-end.toml to your .ctags.d/foo.ctags is a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant