[Olsr-dev] Segmentation violation

Henning Rogge (spam-protected)
Wed May 21 09:09:48 CEST 2008


Am Mittwoch 21 Mai 2008 08:52:01 schrieb Sven-Ola Tücke:
> Yep. Tip does not work.
just applied a patch into the repository to solve the problem (we still have 
problems with routing plugins, but we have no routing plugins at the moment).

diff -r dabd3da5e375 src/lq_plugin.c
--- a/src/lq_plugin.c   Wed May 21 08:56:42 2008 +0200
+++ b/src/lq_plugin.c   Wed May 21 09:01:07 2008 +0200
@@ -103,6 +103,9 @@
 activate_lq_handler(const char *name)
 {
   struct lq_handler_node *node;
+  if (name == NULL) {
+    return 1;
+  }

   node = (struct lq_handler_node *) avl_find(&lq_handler_tree, name);
   if (node == NULL) {


*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)




More information about the Olsr-dev mailing list