diff --git a/docs/notework.txt b/docs/notework.txt index 8f34dda..71f3e80 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -12,6 +12,8 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +- Fixed crash on long names in TwitName. + - Fixed net/echomail.bss updating in Hudson/GoldBase. - Fixed reverse order sorting in 'F' criteria of AREALISTSORT (broken diff --git a/golded3/gccfgg8.cpp b/golded3/gccfgg8.cpp index af8941c..403a3c3 100644 --- a/golded3/gccfgg8.cpp +++ b/golded3/gccfgg8.cpp @@ -261,7 +261,7 @@ void CfgTwitname() { strbtrim(val); } } - strcpy(tn.name, val); + strxcpy(tn.name, val, sizeof(tn.name)); CFG->twitname.push_back(tn); }