RC3: [GPF] Renaming with very long filename crashes

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

Moderators: XnTriq, xnview

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

RC3: [GPF] Renaming with very long filename crashes

Post by helmut »

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: 37560
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

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: 2453
Joined: Tue Feb 17, 2004 1:11 am
Location: Australia

Post by ckit »

Move to -> Will be fixed in Final Release
User avatar
helmut
Posts: 8440
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

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."
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

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