Ver código fonte

add missing patch code to handle range objects in RPSL attribute conversion and thus avoid segfaulting per default (ud_rx.c line 57)

Michael Schloh von Bennewitz 21 anos atrás
pai
commit
46237c07a9
2 arquivos alterados com 13 adições e 1 exclusões
  1. 12 0
      ripe-dbase/ripe-dbase.patch.extobjs
  2. 1 1
      ripe-dbase/ripe-dbase.spec

+ 12 - 0
ripe-dbase/ripe-dbase.patch.extobjs

@@ -4191,3 +4191,15 @@ diff -Nau modules/ud/ud_rx.c.orig modules/ud/ud_rx.c
     case A_IN:
     case A_RT:
     case A_I6:    
+Index: modules/rp/rp_convert.c
+diff -Nau modules/rp/rp_convert.c.orig modules/rp/rp_convert.c
+--- modules/rp/rp_convert.c.orig	2004-05-28 16:12:55.000000000 +0200
++++ modules/rp/rp_convert.c	2004-05-28 16:09:53.000000000 +0200
+@@ -70,6 +70,7 @@
+   int   conv;
+   rx_fam_t   fam_id = RP_attr2fam( attr );
+   switch( attr ) {
++  case A_RA:
+   case A_IN:
+     conv = IP_rang_e2b(&(uni->u.in), astr);
+     break;

+ 1 - 1
ripe-dbase/ripe-dbase.spec

@@ -34,7 +34,7 @@ Class:        EVAL
 Group:        Database
 License:      RIPE NCC
 Version:      3.2.0
-Release:      20040507
+Release:      20040528
 
 #   package options
 %option       with_extobjs  no