Package: ifmetric
Version: 0.3-2
Severity: normal

I have a quick fix for this problem:

--- ifmetric-0.3.orig/src/nlrequest.c
+++ ifmetric-0.3/src/nlrequest.c
@@ -44,7 +44,7 @@

     for (;;) {
         int bytes;
-        char replybuf[2048];
+        char replybuf[4096];
         struct nlmsghdr *p = (struct nlmsghdr *) replybuf;

         if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) {

Please include this patch into the package source.
Thank you.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (700, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35.4+ (SMP w/2 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifmetric depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib

ifmetric recommends no packages.

ifmetric suggests no packages.

-- Configuration Files:
/etc/network/if-up.d/ifmetric changed [not included]

-- no debconf information
--- ifmetric-0.3.orig/src/nlrequest.c
+++ ifmetric-0.3/src/nlrequest.c
@@ -44,7 +44,7 @@
 
     for (;;) {
         int bytes;
-        char replybuf[2048];
+        char replybuf[4096];
         struct nlmsghdr *p = (struct nlmsghdr *) replybuf;
         
         if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) {

Reply via email to