Package: ramond
Version: 0.5-4
Severity: important
Tags: patch

Dear Maintainer,

ramond runs a process when it detects a problem. remond send the prefix
detected to the child via environment vairables. If the Rogue Router
Announcement does not contain a prefix the enviromnent vairables are
garbled. changing setenv("FOO", NULL) to setenv("FOO", "") fixes it.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ramond depends on:
ii  libapr1     1.5.1-2
ii  libc6       2.19-4
ii  libpcap0.8  1.5.3-4
ii  libxml2     2.9.1+dfsg1-3
ii  zlib1g      1:1.2.8.dfsg-1

ramond recommends no packages.

ramond suggests no packages.

-- no debconf information
--- ramond-0.5.orig/src/main.c
+++ ramond-0.5/src/main.c
@@ -567,8 +567,8 @@ void executeActions(struct rule *this_ru
 	}
 	else
 	{
-		setenv("PREFIX", NULL, 1);
-		setenv("PREFIX_LEN", NULL, 1);
+		setenv("PREFIX", "", 1);
+		setenv("PREFIX_LEN", "", 1);
 	}
 
 	setenv("SOURCE_ADDR", data->from_str, 1);

Reply via email to