RC3: [GPF] Renaming with very long filename crashes

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

RC3: [GPF] Renaming with very long filename crashes

Post by helmut » Sat Jan 28, 2006 10:55 am

When renaming a file in view mode, a dialog appears for entering the new filename.

In 1.82 RC3 one can enter 256 characters for filename plus extension. This is actually too much and will make XnView GPF. There must be a check that length of filename (name + "." + extension) does not exceed 216 characters. (MS Explorer allows a maximum of 216 characters in total, I guess there's some reason for this).

XnView 1.82 <x>

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: RC3: [GPF] Renaming with very long filename crashes

Post by xnview » Sat Jan 28, 2006 1:18 pm

helmut wrote:When renaming a file in view mode, a dialog appears for entering the new filename.

In 1.82 RC3 one can enter 256 characters for filename plus extension. This is actually too much and will make XnView GPF. There must be a check that length of filename (name + "." + extension) does not exceed 216 characters. (MS Explorer allows a maximum of 216 characters in total, I guess there's some reason for this).
Yes, right
Pierre.

ckit
XnThusiast
Posts: 2440
Joined: Tue Feb 17, 2004 1:11 am

Post by ckit » Sun Jan 29, 2006 2:18 am

Move to -> Will be fixed in Final Release

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Sun Jan 29, 2006 8:47 am

ckit wrote:Move to -> Will be fixed in Final Release
Yes, this one should be fixed in the final release.

But first this topic will go to group "Confirmed", and then Pierre will fix it and move to group "Will be fixed in Final Release."

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Sun Jan 29, 2006 4:21 pm

helmut wrote:
ckit wrote:Move to -> Will be fixed in Final Release
Yes, this one should be fixed in the final release.

But first this topic will go to group "Confirmed", and then Pierre will fix it and move to group "Will be fixed in Final Release."
ckit have test version maybe...

Post Reply