[genivi-dlt] [patch] check payload length before casting

Lipka, Christoph (ADITJ/SWG) clipka at jp.adit-jv.com
Wed Nov 30 02:59:46 EST 2016

Dear all,

I created a pull request to solve possible issues parsing control messages in case the actual received data is smaller than the structure size of the control message.
It can be found here: https://github.com/GENIVI/dlt-daemon/pull/3

The patch is also attached to this mail.

Best regards

Christoph Lipka
Advanced Driver Information Technology
Software Group (ADITJ/SWG)
1-1 Showa-cho, Kariya-shi
Aichi-ken 448-8661, Japan
Tel. +81-(0)566 61-5124
Fax +81-(0)566 25-4774
clipka at jp.adit-jv.com<mailto:clipka at jp.adit-jv.com>

ADIT is joint venture company of DENSO Corporation and Bosch GmbH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20161130/8180814c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-daemon-check-payload-length-before-cast-to-struct.patch
Type: application/octet-stream
Size: 7381 bytes
Desc: 0001-daemon-check-payload-length-before-cast-to-struct.patch
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20161130/8180814c/attachment.patch>

More information about the genivi-diagnostic-log-and-trace mailing list