Shoutbox

Chatlog bug causes msn to crash - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: Chatlog bug causes msn to crash (/showthread.php?tid=48326)

Chatlog bug causes msn to crash by Comgenie on 07-31-2005 at 09:39 PM

With this bug it will be possible crash msn of others.

If you have an email adres: com1.test@comgenie.com , or an other email adres which starts with com1.  , And you chat with somebody which have msgplus chatlogging on. Msn will crash, because it tries to save it as com1.test@comgenie.com , But com1. is a reserved windows filename.

Windows-version: Windows XP, 5.01.2600
Messenger-version: 7.5.0160
Messenger Plus!-version: 3.54.0132

Suggestion to fix: Put a character before the filename or something, like _ .

Cya, Comgenie


RE: Chatlog bug causes msn to crash by Choli on 07-31-2005 at 10:02 PM

quote:
Originally posted by Comgenie
But com1. is a reserved windows filename
so true....

and the bug happens with com2. , com3. , nul. , etc...

Plus! should detect such names and avoid them
quote:
Originally posted by Comgenie
Suggestion to fix: Put a character before the filename or something, like _ .
i think it would be better if the _ is put in the place of the dot after com1, this way, the name of the file will start with "c" and when you sort the logs by name it gets placed at the spected possition
RE: Chatlog bug causes msn to crash by Patchou on 08-15-2005 at 01:02 AM

Thank you for the report, I was actually not aware of such limitations in the file system. I checked the MSDN and found the documentation I needed. The problem is fixed :).


RE: Chatlog bug causes msn to crash by CookieRevised on 08-15-2005 at 01:14 AM

I never thought of that either (besides the few illegal filename characters which exist) and thus need this to be fixed in some of my personal programs also, so...

quote:
Originally posted by Patchou
I checked the MSDN and found the documentation I needed
can you list the appropiate links? (so I don't have to search for it; and it would benefit others as well I assume)

http://msdn.microsoft.com/library/default.asp?url.../naming_a_file.asp
?

RE: Chatlog bug causes msn to crash by Patchou on 08-23-2005 at 03:33 AM

yep, that's the doc I used to fix my code. I bet 90% of the programs I have installed on my comp are not aware of this strange limitation as well.


RE: Chatlog bug causes msn to crash by Choli on 08-23-2005 at 09:53 PM

quote:
Originally posted by Patchou
I bet 90% of the programs I have installed on my comp are not aware of this strange limitation as well.
only 90%? I think that all programs that write to a file without selecting the fine name with the GetOpenFileName API, have that bug.
quote:
Originally posted by Patchou
strange limitation
that's a limitation of the times of MSDOS, where you could print a file typing

type file > lpt1

and do similar things (like using nul in the same way as /dev/null is used in unix)
RE: Chatlog bug causes msn to crash by Patchou on 08-24-2005 at 01:43 AM

yeah but accepting it as part of another file name? I mean, I never saw a command trying to do someting with the serial port by doing com1.whatever :).


RE: Chatlog bug causes msn to crash by ShawnZ on 08-24-2005 at 01:46 AM

quote:
Originally posted by Patchou
yeah but accepting it as part of another file name? I mean, I never saw a command trying to do someting with the serial port by doing com1.whatever :).


Well you never know, windows has a lot of dodgy things relating to MODE, like that C:\con\con bug

It can be pretty fun to do [img]c:\con\con[/img] and crash all the 98 users (6)