diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index 5a363757c86f..da11ce6ebcd6 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -312,10 +312,20 @@ SmFilterDetect::~SmFilterDetect() { if (0 == strncmp( "Read( aBuffer2, sizeof(aBuffer2) - 1); + aBuffer2[nBytesRead] = 0; + if (strstr( aBuffer2, "" ) != NULL || + strstr( aBuffer2, "