Fix: Avoid segfault if diagnostic bus isn't correctly set.
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 20 Mar 2017 09:08:12 +0000 (09:08 +0000)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 20 Mar 2017 09:08:12 +0000 (09:08 +0000)
commitc0fd6e1982353d056c26a292186ef0df315adde3
tree6dce1b1866aab81b660aaae554c8f16c53f0d2d5
parentd99b87ba4332fd0c1e51d2708e46c52bad713558
Fix: Avoid segfault if diagnostic bus isn't correctly set.

There is a segfault when binding configuration doesn't matches configuration
generated. Improve general CAN bus device initialization.

Change-Id: I17ea94ee54841d09ac63a7ffad303a88d99e0173
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can/can-bus.cpp
src/diagnostic/diagnostic-manager.cpp
src/low-can-binding.cpp