Fixed crash on long names in TwitName

This commit is contained in:
Alexander S. Aganichev 2002-05-04 15:08:00 +00:00
parent 985cd80db5
commit d20b5bc62b
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -261,7 +261,7 @@ void CfgTwitname() {
strbtrim(val);
}
}
strcpy(tn.name, val);
strxcpy(tn.name, val, sizeof(tn.name));
CFG->twitname.push_back(tn);
}