Package: vrrpd
Version: 1.0

When only 1 route exists on the system that does not have a gateway set the rt_sort() function goes into an infinite loop.

I suggest a check is inserted in the rt_sort function before the while loop:

if (!entry || !entry->next) {
  return entry;
}

I am using vrrpd on an arm platform with linux kernel 2.6.30 and uclibc.





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


Reply via email to