[Github-comments] [geany/geany] geany freezes computer (#2484)

ferdymercury notifications at xxxxx
Sat Apr 25 11:46:44 UTC 2020


If one provides a text file with a single line but an insane number of characters (columns) with a lot of quote opening and closing, braces, etc. in this first single line, the CPU usage skyrockets and Geany freezes the computer. One has to kill the terminal.

This happens sometimes to me when I get a quite long JSON file (6Mb) that has no newlines, so all is in the first line.

Maybe some security check could be added to avoid this?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2484
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200425/b28a3c1f/attachment-0001.htm>


More information about the Github-comments mailing list