ports/net/irrd/files/patch-config_file.c
Sergey Matveychuk 7ae0a4d83f - Add patches to fix two crash dumps
Submitted by:	Boris Lytochkin <lytboris_at_yandex-team.ru>
Feature safe:	Yes
2012-03-15 11:45:48 +00:00

11 lines
413 B
C

--- lib/config/config_file.c.orig 2009-03-25 00:38:11.000000000 +0300
+++ lib/config/config_file.c 2011-06-24 17:09:08.000000000 +0400
@@ -772,7 +772,7 @@
Deref_Prefix (prefix);
return (1);
}
- if (prefix_compare2 (UII->prefix, prefix) != 0) {
+ if ( UII->prefix == NULL || prefix_compare2 (UII->prefix, prefix) != 0) {
set_uii (UII, UII_ADDR, prefix, 0);
listen_uii2 (NULL);
}