[Differential] [Request, 14 lines] D4181: Sonnet: segfault in trigrams generation

John Salatas noreply at phabricator.kde.org
Wed Jan 18 05:05:35 UTC 2017


jsalatas created this revision.
jsalatas added a reviewer: Plasma.
jsalatas set the repository for this revision to R246 Sonnet.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  This patch fixes a Segmentation fault in trigrams generation when weeding out trigrams.
  
  I also moved the MAXGRAMS constant to the header file, just for consistency (gentrigrams.cpp had a hardoced value of 300).

REPOSITORY
  R246 Sonnet

REVISION DETAIL
  https://phabricator.kde.org/D4181

AFFECTED FILES
  data/CMakeLists.txt
  data/gentrigrams.cpp
  src/core/guesslanguage.cpp
  src/core/guesslanguage.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: jsalatas, #plasma
Cc: plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170118/a5a0c153/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list