Fix bad handling unsupported OBD2 messages subscription.
authorRomain Forlot <romain.forlot@iot.bzh>
Sun, 19 Mar 2017 01:47:26 +0000 (02:47 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Sun, 19 Mar 2017 01:47:26 +0000 (02:47 +0100)
commitd99b87ba4332fd0c1e51d2708e46c52bad713558
tree3a6fdd11929f626eeb1eeade277cec7b8379fb1b
parentf6dcb18fa4d6637b0e9a2ff7eb39f2fe98e815d6
Fix bad handling unsupported OBD2 messages subscription.

Testing supported boolean wrong and gave a null pointer to a function that
doesn't check the pointer validity.

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