Closed elupus closed 1 year ago
Current rt-kernel coal drivers allow DLC up to 15 on received can frames. However only 8 bytes of data is available in the data buffers. This could lead to out of bounds read.
https://github.com/rtlabs-com/c-open/blob/7a94f54fdb3462df488b466616b28d9af028c19e/src/ports/rt-kernel/coal_can.c#L101
Current rt-kernel coal drivers allow DLC up to 15 on received can frames. However only 8 bytes of data is available in the data buffers. This could lead to out of bounds read.
https://github.com/rtlabs-com/c-open/blob/7a94f54fdb3462df488b466616b28d9af028c19e/src/ports/rt-kernel/coal_can.c#L101