fixed buffer overflow bug. golded+ can crash in message list if size of name or subject is too big.
This commit is contained in:
parent
734e67d8b6
commit
9bb9d3abd8
@ -10,6 +10,8 @@ _____________________________________________________________________________
|
|||||||
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
|
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
|
||||||
_____________________________________________________________________________
|
_____________________________________________________________________________
|
||||||
|
|
||||||
|
- Golded+ ¬®£ 㯠áâì ¢ ᯨ᪥ á®®¡é¥¨©, ¥á«¨ à §¬¥à ¨¬¥¨ ¨«¨ ⥬ë ᫨誮¬
|
||||||
|
¡®«ì訥.
|
||||||
- ˆá¯à ¢«¥ ¬¥î 㤠«¥¨ï ¥®â¯à ¢«¥ëå á®®¡é¥¨©, ª®£¤ 㤠«ï«®áì ¢ ª®à§¨ã.
|
- ˆá¯à ¢«¥ ¬¥î 㤠«¥¨ï ¥®â¯à ¢«¥ëå á®®¡é¥¨©, ª®£¤ 㤠«ï«®áì ¢ ª®à§¨ã.
|
||||||
- ˆá¯à ¢«¥ ¯®¤áç¥â ¢à¥¬¥¨ ᪮«ìª® £®«¤¥¤ ¯à®áâ ¨¢ «.
|
- ˆá¯à ¢«¥ ¯®¤áç¥â ¢à¥¬¥¨ ᪮«ìª® £®«¤¥¤ ¯à®áâ ¨¢ «.
|
||||||
- <20>¥ à ¡®â «® ^¡ãª¢ ¨§ ª®¬ ¤®© áâப¨.
|
- <20>¥ à ¡®â «® ^¡ãª¢ ¨§ ª®¬ ¤®© áâப¨.
|
||||||
|
@ -10,6 +10,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
- Golded+ can crash in message list if size of name or subject is too big.
|
||||||
|
|
||||||
- Fixed delete menu dialog, when unsent message is to be deleted to recyclebin.
|
- Fixed delete menu dialog, when unsent message is to be deleted to recyclebin.
|
||||||
|
|
||||||
- Fixed idle time counting.
|
- Fixed idle time counting.
|
||||||
|
@ -221,9 +221,10 @@ void GMsgList::ReadMlst(int n) {
|
|||||||
ml->written = msg.written;
|
ml->written = msg.written;
|
||||||
ml->arrived = msg.arrived;
|
ml->arrived = msg.arrived;
|
||||||
ml->received = msg.received;
|
ml->received = msg.received;
|
||||||
strcpy(ml->by, msg.By());
|
|
||||||
strcpy(ml->to, msg.To());
|
strxcpy(ml->by, msg.By(), ARRAYSIZE(ml->by));
|
||||||
strcpy(ml->re, msg.re);
|
strxcpy(ml->to, msg.To(), ARRAYSIZE(ml->to));
|
||||||
|
strxcpy(ml->re, msg.re, ARRAYSIZE(ml->re));
|
||||||
|
|
||||||
{ Addr zero;
|
{ Addr zero;
|
||||||
ml->colorby = GetColorName(ml->by, msg.orig, DEFATTR);
|
ml->colorby = GetColorName(ml->by, msg.orig, DEFATTR);
|
||||||
|
Reference in New Issue
Block a user