Closed ragaeeb closed 8 years ago
Critical bug when keyword threshold is not initialized, it remains at 0:
The following code: if ( result.size() >= m_options.threshold ) { LOGGER("KeywordSpamMatched!"); spamDetected(m); ........ }
Passes, since 0 >= 0, and thus the message is deleted.
Bug Report: 35104_1451692115.zip
8339ad0d5c27f423c19a287e12f83b812a43bc71
1be955b419bebab7fe8d7f213dd14560b0b0829a
Critical bug when keyword threshold is not initialized, it remains at 0:
The following code: if ( result.size() >= m_options.threshold ) { LOGGER("KeywordSpamMatched!"); spamDetected(m); ........ }
Passes, since 0 >= 0, and thus the message is deleted.
Bug Report: 35104_1451692115.zip