giza++ buffer overflow / stack smashing

If you encounter problems like buffer overflow or stack smashing when using GIZA++ in 2010 ~ early 2011, you should have a look at this page:

http://www.mail-archive.com/moses-support@mit.edu/msg01542.html

Abstract:

As per the google code page for GIZA++, under "Issue 11", comment 3, I changed
the size of time_stmp in file file_spec.h (in GIZA++) from 17 char's to 37
(pseudo-randomly selected (larger) number), rebuilt things, and had stuff start
to work (without using an older g++).

Leave a Comment

You must be logged in to post a comment.