Package: swish++
Version: 6.1.4
Severity: important

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

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to