summaryrefslogtreecommitdiff
path: root/src/offlinelogstorage
diff options
context:
space:
mode:
authorFelix Herrmann <fherrmann@de.adit-jv.com>2020-01-14 17:18:46 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commit0ae98e7b46f13d415e051a7acdfd7d703c5c25f9 (patch)
tree80cdb59ff4da84880dcc09224fcdc76009313751 /src/offlinelogstorage
parent676e8fc1ba927dc84df82b508d796e31d9fd120c (diff)
downloadDLT-daemon-0ae98e7b46f13d415e051a7acdfd7d703c5c25f9.tar.gz
snprintf ret > 0 is not always an error
snprintf returns the size the resulting string would take. In order to detect truncation, this size needs to be checked against the buffer size. Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com> Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>
Diffstat (limited to 'src/offlinelogstorage')
0 files changed, 0 insertions, 0 deletions