1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
smlng
d7942cd974 dist/tools: fix tunslip6 strncat num param
Cppcheck was (correctly) warning here that concat to strings might
result in buffer overflow because the terminating `\0` was not considered.
This is fixed here, making the cppcheck suppression also obsolete.
2018-09-25 12:03:58 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Oleg Hahm
2cb16c5ff4 dist: tunslip: fix cppcheck warnings 2017-04-14 14:36:16 +02:00
Joakim Nohlgård
9b8485f21e dist/tools/tunslip6: Do not accept null chars as printable 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
1c5b26c038 dist/tools/tunslip6: Change len to size_t in is_sensible_string 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
9dfd4ccf11 dist/tools/tunslip6: Fix off by one on index in is_sensible_string 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
fd3ff61747 dist/tools/tunslip6: Workaround for IPv6 packets mistaken as strings 2017-01-05 14:59:59 +01:00
Joakim Nohlgård
437e38b672 dist/tools/tunslip: fix a bunch of uglies and compile with -std=c99 2017-01-05 14:59:58 +01:00
Joakim Nohlgård
fd8645c86c dist/tools/tunslip6: Replace goto with while 2017-01-05 14:59:58 +01:00
Matthias Kolja Miehl
eb39aec480 dist/tools/tunslip: tunslip6: fix invalidPrintfArgType_uint
Since the argument type is 'long', the printf
format string has to be '%li' instead of '%lu'.
2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
652f5ef8b9 dist/tools/tunslip: tunslip6: fix variableScope 2016-09-05 02:32:10 +02:00
Oleg Hahm
2c555f748e dist: fix missing include of sys/time.h in tunslip 2015-09-01 15:24:01 +02:00
Martine Lenders
1a146f7934 tools: import tunslip from contiki 2015-05-23 13:19:17 +02:00