Hi!
I just uploaded an NMU of joe, to fix #392077. A diff is attached.
--
+--------------------------------------------------------------------+
| Bas Zoetekouw | GPG key: 0644fab7 |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+
diff -Nabur joe-3.5.eerst/debian/changelog joe-3.5/debian/changelog
--- joe-3.5.eerst/debian/changelog 2006-10-18 20:47:04.000000000 +0200
+++ joe-3.5/debian/changelog 2006-10-18 20:48:57.413921050 +0200
@@ -1,3 +1,11 @@
+joe (3.5-1.1) unstable; urgency=low
+
+ * Non-maintainer upload
+ * Fix Segfault when using execmd with empty command
+ (closes: #392077)
+
+ -- Bas Zoetekouw <[EMAIL PROTECTED]> Wed, 18 Oct 2006 20:47:22 +0200
+
joe (3.5-1) unstable; urgency=low
* New upstream version.
diff -Nabur joe-3.5.eerst/macro.c joe-3.5/macro.c
--- joe-3.5.eerst/macro.c 2006-07-19 02:19:02.000000000 +0200
+++ joe-3.5/macro.c 2006-10-18 20:47:18.788621473 +0200
@@ -113,6 +113,12 @@
while (joe_isblank(locale_map,buf[x]))
++x;
+ /* If the buffer is only whitespace then treat as unknown command */
+ if (!buf[x]) {
+ *sta = -1;
+ return NULL;
+ }
+
/* Do we have a string? */
if (buf[x] == '\"') {
++x;