diff options
author | Martin Ejdestig <martin.ejdestig@volvocars.com> | 2020-11-17 01:21:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 09:21:54 +0900 |
commit | 16ab307eca98a49d66bf3332578b4bdd32f63732 (patch) | |
tree | 608cf4bd1b1609602b2bd4b6a14599758e74ee90 /tests/gtest_dlt_common.cpp | |
parent | d02ef27da01149f2b3da9de3efea85504afeecfa (diff) | |
download | DLT-daemon-16ab307eca98a49d66bf3332578b4bdd32f63732.tar.gz |
Fix overflow for -d argument in dlt-example-user (#270)
atoi(dvalue) * 1000000 overflows if given a value >= 2147 when
sizeof(int) is 4. (2^31 / 10000000 ~= 2147.48)
Signed-off-by: Martin Ejdestig <martin.ejdestig@volvocars.com>
Diffstat (limited to 'tests/gtest_dlt_common.cpp')
0 files changed, 0 insertions, 0 deletions