-Custom column limit to 1023 charactors

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mantis4d
Junior Member
Junior Member
Posts: 9
Joined: 2014-05-14, 01:45 UTC

-Custom column limit to 1023 charactors

Post by *mantis4d »

If I make a really complex Custom column, which part saved in wincmd.ini is should be more than 1023 charactors. TC will only save 1023 charactors and lost all other part.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, this is the current limit, sorry.
Author of Total Commander
https://www.ghisler.com
mantis4d
Junior Member
Junior Member
Posts: 9
Joined: 2014-05-14, 01:45 UTC

not a bug?

Post by *mantis4d »

can you fix it?
or at least add a warning or something let us know that when we reach the limit?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's not a bug, just an (arbitrary) limit. I prefer to use fixed length strings in many places (e.g. for file names) because it greatly reduces the risk of buffer overflows and security issues.
Author of Total Commander
https://www.ghisler.com
Post Reply