Fixed parse_canframe() with reordering the checks for the can_id
authorOliver Hartkopp <socketcan@hartkopp.net>
Fri, 28 Nov 2008 21:50:24 +0000 (21:50 +0000)
committerOliver Hartkopp <socketcan@hartkopp.net>
Fri, 28 Nov 2008 21:50:24 +0000 (21:50 +0000)
commit450a0580727084dec3579136192bdc7597ef3466
tree6a5bf14dd7c9d8e838f177376941deecea7f1671
parente7046e7fca5612b7e9a055e94f5f3901239ea56e
Fixed parse_canframe() with reordering the checks for the can_id
delimiter. Before this fix the function may have found delimiters in the
string behind the terminating zero.
lib.c