atom / highlights

Syntax highlighter
https://atom.github.io/highlights
MIT License
530 stars 54 forks source link

Highlights can get into infinite loop, leaking memory under Linux #35

Open pcarrier opened 8 years ago

pcarrier commented 8 years ago

Note that this does not happen under OSX. I suspect node-oniguruma handles Unicode differently somehow.

To reproduce:

pcarrier commented 8 years ago

Please note that for server-side uses of highlights and whenever user-provided data is highlighted (eg through marky-markdown), this is a security issue as it allows DoS.