[Bf-committers] Long plugin path problem

Stephane SOPPERA bf-committers@blender.org
Sun, 21 Sep 2003 23:48:15 +0200

> Hi!
> I noticed today that the path of sequence plugins is limited to 80 
> caracters (name member of the PluginSeq struct) and that strcpy is 
> used to copy the path in this variable. So the memory is corrupted 
> when the path for a plugin is longer than 80 characters (that's the 
> case of many plugins on my system) and the plugin don't work ;-)
> An easy fix would be to set a bigger limit (bigger than FILE_MAXDIR 
> which is quite small and lesser than PATH_MAX on my system). A better 
> fix should be to use a C++ class for strings ;-)

Where should I post this message?
Is the easy solution of increasing the maximum path length valid? (I 
don't know yet if that makes a difference when saving for example)


Stephane SOPPERA