Hello,

On Fri, 10 Nov 2006, Ryan Underwood wrote:
> swish++ is using the wrong PATH_MAX.  This causes memory corruption and
> crash on a system with long paths.
> --- swish++-6.1.4/util.h        2005-07-05 13:31:06.000000000 -0500
> +++ asdf/util.h 2006-11-09 14:30:45.000000000 -0600
> @@ -48,7 +48,7 @@
>  #ifdef PATH_MAX
>  #undef PATH_MAX
>  #endif
> -int const                  PATH_MAX = 1024;
> +int const                  PATH_MAX = 4096;
> 
>  // local
>  #include "exit_codes.h"
> 
> It should be using limits.h or pathconf() to find this constant.

Thanks for pointing this out. I will fix it and also inform upstream.

Regards,

Kapil.
--

Attachment: signature.asc
Description: Digital signature

Reply via email to