Comment 3 for bug 285241

Revision history for this message
Vernon Tang (vtang) wrote :

Here's a patch that fixes a potential (but non-exploitable) buffer overflow in cmine.cc. Since gcc on Ubuntu defines _FORTIFY_SOURCE=2 by default, the buffer overflow gets caught, and hence aborting the program, every time minesweeper is started.