Open GoogleCodeExporter opened 8 years ago
The strcmp should be changed to strncmp. This may be causing segmentation faults in some cases when the input contains words that are too long.
Original issue reported on code.google.com by chad.p...@gmail.com on 17 Jul 2015 at 11:12
chad.p...@gmail.com
Also, in SortVocab() the free is indexed to vocab_size, not the element actually being freed.
Original comment by chad.p...@gmail.com on 17 Jul 2015 at 11:26
Original issue reported on code.google.com by
chad.p...@gmail.com
on 17 Jul 2015 at 11:12