René Kijewski
d2afdf5079
crypto: memcpy()
in overlapping data in ccm
...
`memcpy()` must not be used if the input and output ranges overlap,
because it is undefined if the data if copied from front to the end or
vice versa.
Found via valgrind.
2015-09-22 11:01:56 +02:00
René Kijewski
7af7d37531
base64: remove unused calculation in base64_encode
...
Found via scan-build.
2015-09-22 11:01:56 +02:00
René Kijewski
05eb6e73d9
bloom: fix calloc invocation
...
Fix array member type (`char` vs `uint8_t`).
Found via scan-build.
2015-09-22 11:01:55 +02:00
René Kijewski
2e3a636b7e
embUnit: simplify strcmp()
implementation
...
The logic of `stdimpl_strcmp()` was needlessly complicated and not
understood by scan-build. This change fixes the warning and makes the
code more readable.
Found via scan-build.
2015-08-25 21:17:40 +02:00
René Kijewski
80fe12e483
ubjson: initialize variable in error case too
...
For an invalid input `ubjson_get_i32()` did not return a proper error
code. Because of that `_ubjson_read_length()` could have operated on
uninitialized data.
Found via scan-build.
2015-08-25 21:17:30 +02:00
Oleg Hahm
79ac710ee5
Merge pull request #3677 from cgundogan/pr/rpl/cleanup
...
rpl: minor cleanup
2015-08-21 14:59:36 +02:00
Cenk Gündoğan
5ee36c6ac4
rpl: minor code cleanup
2015-08-21 13:54:39 +02:00
d18cb7a9c3
sys: add netopt to string map function and netopt module
2015-08-21 11:03:56 +02:00
Oleg Hahm
155b91bd06
Merge pull request #3655 from OlegHahm/fib_multiple_instances
...
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
1f7da4e436
Merge pull request #3659 from cgundogan/pr/rpl/dao_global_instance
...
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 15:54:51 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Oleg Hahm
bf00a19998
Merge pull request #3670 from cgundogan/pr/universal_address/docfix
...
universal_address: minor dox fixes
2015-08-20 14:48:56 +02:00
Cenk Gündoğan
5322205d34
universal_address: minor doc fixes
2015-08-20 13:59:43 +02:00
Martine Lenders
ab9d57dec5
gnrc_sixlowpan_iphc: set correct length for IPv6 header
2015-08-20 12:35:44 +02:00
Cenk Gündoğan
2ae99d9073
rpl: remove superfluous ifdef MODULE_IPV6_ADDR
2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 08:41:10 +02:00
Martine Lenders
d438984ae5
Merge pull request #3669 from cgundogan/pr/gnrc/ipv6/remove_padding
...
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 08:35:03 +02:00
Cenk Gündoğan
29ccba3e2f
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 00:10:37 +02:00
Joakim Gebart
56b0beeebe
Merge pull request #3107 from gebart/pr/cppsupport
...
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +02:00
Martine Lenders
6dc125e08b
gnrc_sixlowpan: compare with actual packet size for fragmentation
...
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Oleg Hahm
4d00996521
Merge pull request #3645 from authmillenon/gnrc/api/master-mv
...
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:38:00 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
3ab2907a6e
Merge pull request #3656 from authmillenon/ipv6_addr/doc/fix
...
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 22:36:23 +02:00
Martine Lenders
6b22e15a54
Merge pull request #3657 from cgundogan/pr/rpl/doc_verbose
...
rpl: make urls in doc more verbose
2015-08-18 20:23:44 +02:00
Martine Lenders
cb63a4e221
Merge pull request #3489 from cgundogan/ng_rpl_prefix_info
...
ng_rpl: auto address configuration
2015-08-18 20:23:21 +02:00
Martine Lenders
70d40f17b0
Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
...
gnrc_rpl: fix dependencies
2015-08-18 20:22:30 +02:00
Martine Lenders
d0f530da8e
Merge pull request #3602 from authmillenon/ndp/api/take-out-msg-types
...
ndp: move type definitions out of ng_ context
2015-08-18 20:22:08 +02:00
Cenk Gündoğan
28dbd1f9fa
rpl: make urls in doc more verbose
2015-08-18 19:07:15 +02:00
Martine Lenders
618a765bdc
ndp: move type definitions out of ng_ context
2015-08-18 19:01:29 +02:00
Cenk Gündoğan
94b8d69dd9
ng_rpl: auto address configuration
2015-08-18 19:00:01 +02:00
Martine Lenders
4283b1515d
gnrc_rpl: fix dependencies
...
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.
Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
2015-08-18 18:59:02 +02:00
Martine Lenders
391522e1a8
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 18:54:26 +02:00
Oleg Hahm
e5d5c37362
Merge pull request #3654 from OlegHahm/rpl_scan_findings
...
RPL: clang analyzer findings
2015-08-18 18:53:36 +02:00
Oleg Hahm
147bf75d5b
Merge pull request #3599 from authmillenon/icmpv6/api/take-hdrs-out
...
icmpv6: put message definitions in their own files
2015-08-18 18:17:28 +02:00
Oleg Hahm
687cc6e175
rpl: removed superfluous assignment
2015-08-18 17:53:29 +02:00
Oleg Hahm
2e1b90f107
rpl: added assertions for null pointer checks
2015-08-18 17:53:11 +02:00
Martine Lenders
89009ae2f1
icmpv6: put message definitions in their own files
2015-08-18 17:30:23 +02:00
Martine Lenders
93031c9b60
sixlowpan: move non-GNRC stuff to its own module
2015-08-18 17:03:47 +02:00
Martine Lenders
87c222d2fa
Merge pull request #3595 from authmillenon/gnrc/api/mv
...
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Oleg Hahm
e3edf34527
Merge pull request #3050 from cgundogan/ng_rpl_fib
...
ng_rpl: port to the new network stack
2015-08-18 16:48:29 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Oleg Hahm
72334c2847
sixlowpan: IPHC assertion
...
Just to tranquilize clang analyzer
2015-08-18 16:08:09 +02:00
Oleg Hahm
86a6b8a552
pktbuf: check NULL pointer before merging snips
2015-08-18 16:08:09 +02:00
Oleg Hahm
3757e57e71
netdev_eth: drop multicast with empty payload
2015-08-18 16:08:09 +02:00
Oleg Hahm
85fe445db8
pktbuf: assert for potential null pointer
...
In practice, this should not happen, since `_first_unused` should be
already set, if `_too_small_hole()` returns true.
2015-08-18 16:06:47 +02:00
Cenk Gündoğan
acd07de676
ng_rpl: shell commands for RPL
2015-08-18 12:03:30 +02:00
Cenk Gündoğan
7f6966aacc
ng_rpl: RPL for the gnrc network stack
2015-08-18 12:03:28 +02:00
Oleg Hahm
b68213a410
Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
...
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
04d77bd3f2
IPv6: implement source address selection
...
see http://tools.ietf.org/html/rfc6724#section-4 and
http://tools.ietf.org/html/rfc6724#section-5
2015-08-17 23:10:55 +02:00
Martine Lenders
feb8b8cc0f
Merge pull request #3639 from OlegHahm/unittest-color-output
...
Added a colored outputter to embUnit.
2015-08-17 22:06:51 +02:00