diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2016-03-22 11:24:33 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2016-04-22 10:57:04 +0200 |
commit | 568cafbfdd548f8221d43e50c044054a363a4315 (patch) | |
tree | af15344a2f767fdfa32a130687861ed7c8a24876 /LICENSE | |
parent | 4a321d5e579014b79ad486b017d90f17483c671b (diff) | |
download | DLT-daemon-568cafbfdd548f8221d43e50c044054a363a4315.tar.gz |
Revert truncation of string or raw block
Commit d319ebf4d2d449d70befae0eebbdd82c19c5315f introduced new handling
of the situation when writing data to the user buffer would exceed its
size. This was achieved by truncating the data to fit. This solution had
a problem:
It could lead to a buffer overflow when the updated arg_size gets negative
(actually undefined value because it is unsigned).
As a quick fix the behaviour is reverted to the state before the
aforementioned commit.
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions