1. 28 Aug, 2017 1 commit
    • Jay Young's avatar
      Fix `Segmentation Fault` when loading very big corpus file · 0375c800
      Jay Young authored
      example_pos_ is the cursor to current position when reading the corpus file. When corpus file is very big, the corpus_size_ may bigger than max of int32, then example_pos_ became negative, and cause `corpus_[example_pos_]` to `Segmentation Fault`.
      0375c800
  2. 10 Dec, 2016 1 commit