jesse99 / Linguist

Generalized syntax highlighter addin for Visual Studio 2010
MIT License
5 stars 0 forks source link

Linguist crashes after saving a new cpp file #1

Closed ben-craig closed 13 years ago

ben-craig commented 13 years ago

Go to File->New->File... This should create TextFile1.txt Put some C++ code in the file, for example "#include " Save the file as "hello.cpp". Observe crash.

The issue seems to be a stack overflow in Linguist::GetClassificationSpans.

jesse99 commented 13 years ago

Fixed in Linguist 0.4