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

20949 Commits

Author SHA1 Message Date
Martine Lenders
b6eb12c6d4
Merge pull request #10795 from kaspar030/fix_sha256_update_with_zero_length
hashes/sha256: don't call memcpy if len==0
2019-01-17 11:28:55 +01:00
Martine Lenders
aef03e620a
Merge pull request #10784 from kaspar030/fix_fmt_signed_conversion
fmt: fix fmt_s32_dec() and fmt_s64_dec() sign bit handling
2019-01-17 11:28:00 +01:00
Martine Lenders
d34bf526c1
Merge pull request #10783 from kaspar030/fix_native_timer
cpu/native/periph/timer: fix type conversion
2019-01-17 11:11:01 +01:00
d6390b3685 hashes/sha256: don't call memcpy if len==0 2019-01-17 10:56:34 +01:00
Gaëtan Harter
519b9ebc33
Merge pull request #10790 from cladmi/pr/build_system_utils/name_collision_tests
tests/build_system_utils: fix TESTS name collision
2019-01-16 19:13:15 +01:00
Martine Lenders
d4b92e931e
Merge pull request #10789 from cladmi/pr/build_dir/fix_jerryscript
pkg/jerryscript: namespace BUILD_DIR variable
2019-01-16 18:57:42 +01:00
c0785df050
Merge pull request #10786 from kaspar030/fix_pktbuf_empty_memcpy
gnrc/pktbuf: avoid memcpy if size <= 0
2019-01-16 18:34:23 +01:00
Gaëtan Harter
5260b62160
tests/build_system_utils: fix TESTS name collision
TESTS is used to find the tests files for the application but was used
to list test targets. Rename to COMPILE_TESTS as already done in some of
my other applications.
2019-01-16 18:24:13 +01:00
Gaëtan Harter
6a170583d6
pkg/jerryscript: namespace BUILD_DIR variable
BUILD_DIR was introduced but the variable was already used by
`pkg/jerryscript` so there is a name collision.
Namespace it to prevent issues.
2019-01-16 17:47:12 +01:00
7226daf33e
Merge pull request #10558 from dylad/pr/update_arm_cmsis
cpu/cortexm_common: Update ARM CMSIS to V5.4.0
2019-01-16 16:49:14 +01:00
Cenk Gündoğan
b24a8fbf3a
Merge pull request #10524 from miri64/gnrc_netif/enh/centralize-dev-type-functions
gnrc_netif: centralize device-type-specific functions
2019-01-16 16:44:43 +01:00
a2d679c76f gnrc/pktbuf: avoid memcpy if size <= 0 2019-01-16 16:13:14 +01:00
Martine Lenders
55b9757044 gnrc_netif: centralize function to init IPv6 MTU 2019-01-16 15:52:54 +01:00
Martine Lenders
ea9bbd72b8 gnrc_netif: centralize function to get l2addr NETOPT 2019-01-16 15:52:54 +01:00
Martine Lenders
8f763535ac gnrc_netif: centralize S/TLLAO length to address length function
The function to infer the link-layer address length from the length of
a S/TLLAO is very dependent on the IPv6 over X specification and thus
should be grouped with the other IP over X functions.
2019-01-16 15:52:53 +01:00
3b76a2c2be fmt: fix fmt_s32_dec() and fmt_s64_dec() sign bit handling
"val = -val" causes UB for INTMIN, thus explicitly cast to unsigned.
2019-01-16 15:23:19 +01:00
f5345fbd38 cpu/native/periph/timer: fix undefined behaviour 2019-01-16 15:16:54 +01:00
Gaëtan Harter
61452669b9
Merge pull request #10038 from smlng/pr/make/buildoutdir
make: introduce common BUILD_DIR
2019-01-16 14:18:48 +01:00
Sebastian Meiling
a0e143d09f
Merge pull request #10721 from nmeum/asymcute-out-of-bounds
asymcute: check for minimum packet length early
2019-01-16 13:53:49 +01:00
danpetry
9fadbf60b4
Merge pull request #10190 from jcarrano/qualifier-fixes/lua
pkg/lua: Fix warnings on discarded qualifiers.
2019-01-16 12:13:29 +01:00
Leandro Lanzieri
d9be249144
Merge pull request #10578 from MrKevinWeiss/pr/i2capi
drivers/i2c: Fix i2c api issues
2019-01-16 11:07:10 +01:00
Sören Tempel
2a6354b07d asymcute: check for minimum packet length early
Without this patch _len_get reads one byte beyond the con->rxbuf
if the incoming packet consists only of the byte 0x01.
2019-01-16 10:06:38 +01:00
Sebastian Meiling
2fde8335c9
Merge pull request #10728 from keestux/memcpy-struct-copy
Do normal assignment instead of memcpy
2019-01-16 09:18:44 +01:00
Cenk Gündoğan
abb72db73a
Merge pull request #10776 from miri64/gnrc_sixlowpan_frag/enh/detect-duplicates
gnrc_sixlowpan_frag: drop received duplicates
2019-01-16 00:08:25 +01:00
Dylan Laduranty
514812fc7c pkg/cmsis-dsp: update to V5.4.0 from ARM repo
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 21:33:24 +01:00
Martine Lenders
01370511df gnrc_sixlowpan_frag: drop received duplicates
Otherwise duplicate fragments are added to the number of already
received datagram bytes in L153 leading to possible race-conditions.
2019-01-15 20:09:49 +01:00
Martine Lenders
e65a017f19
Merge pull request #10775 from aabadie/pr/board/disable_dma_spi_iotlabm3
boards/iotlab-m3: disable DMA with SPI
2019-01-15 20:05:39 +01:00
9daf3c74a9 boards/iotlab-m3: disable DMA with SPI 2019-01-15 19:49:32 +01:00
Emmanuel Baccelli
209d90bc00
Merge pull request #10215 from kYc0o/pr/riotboot_multislot
riotboot: add multislot support
2019-01-15 19:04:28 +01:00
Emmanuel Baccelli
d8f64a36e4 bootloaders/riotboot: updated documentation on multislot 2019-01-15 18:32:10 +01:00
Dylan Laduranty
fdcac731eb cpu/cortexm_common: Update ARM CMSIS to V5.4.0
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 17:35:40 +01:00
Martine Lenders
4e4e6f8793
Merge pull request #10772 from miri64/shell/bug/gnrc-icmpv6-release-when-full
shell: sc_icmpv6_echo: release payload when pktbuf full
2019-01-15 17:26:34 +01:00
Juan Carrano
a8a23e4d85 pkg/lua/contrib: Fix warning on discarded qualifier.
There was a cast in a macro that calculated offsets. Since it was
only doing a pointer difference, the cast was inocuous, but I fix
it anyways.
2019-01-15 15:16:25 +01:00
Juan Carrano
cf2bca0d53 pkg/lua: Suppress warnings on discarded qualifiers.
Upstream lua has many instances of discarding cont qualifiers through
explicit casting. This disables the warnigns for the package so that
they don't show up when one enables -Wno-cast-qual globally.
2019-01-15 15:16:25 +01:00
Martine Lenders
8bd9e0f0c2 shell: sc_icmpv6_echo: release payload when pktbuf full
Otherwise it gets never released

Co-Authored-By: Gunar Schorcht <gunar@schorcht.net>
2019-01-15 15:07:46 +01:00
Gaëtan Harter
94a89f5105
Merge pull request #10765 from miri64/travis/fix/base-branch
.travis.yml: provide base branch to static tests
2019-01-15 14:05:14 +01:00
Martine Lenders
16ff5e03ca .travis.yml: provide base branch to static tests 2019-01-15 13:42:28 +01:00
Martine Lenders
da624f2ff4 .travis.yml: fetch base-branch for rebase 2019-01-15 13:29:19 +01:00
Martine Lenders
465631f83c gnrc_netif: doc-group device-type based functions 2019-01-15 11:51:21 +01:00
Francisco Acosta
8e5ac629e0 tests/riotboot: extend to accept slot 0 or 1
Modify the test to accept slot values 0 and 1.
2019-01-14 16:14:34 +01:00
Cenk Gündoğan
6a4c764c95
Merge pull request #10569 from miri64/gnrc_netif/enh/rm-get-NETOPT_IPV6_IID
gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
2019-01-14 14:09:34 +01:00
Martine Lenders
7ae90564d9 gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
This way the IID generation gets much simplified and code duplication
is avoided since it removes GNRC's requirement for NETOPT_IPV6_IID.
2019-01-14 13:42:58 +01:00
9767dd3d49
Merge pull request #10754 from kaspar030/fix_nanocoap_optlen
nanocoap: fix server-side option_count overflow
2019-01-14 13:26:37 +01:00
Ken Bannister
1058a8d07e tests/nanocoap: add test for option parse overflow 2019-01-14 12:30:06 +01:00
4b1b0aa84e sys/net/nanocoap: fix possible option_count overflow 2019-01-14 12:30:06 +01:00
dd53bb89f7 tests/unittests/nanocoap: add test case for option_count overflow 2019-01-14 12:30:06 +01:00
Martine Lenders
4ab3d1a77b
Merge pull request #10534 from bergzand/pr/kw2xrf/undedup_address
kw2xrf: Don't use netdev_ieee802154_t for link layer address
2019-01-14 11:25:41 +01:00
Cenk Gündoğan
a032070e82
Merge pull request #10744 from kaspar030/handle_disabled_default_modules_before_deps
make: handle disabled default modules before dependencies
2019-01-13 18:20:10 +01:00
Martine Lenders
35868a3474
Merge pull request #10402 from bergzand/pr/mrf24j40/undedup_address
mrf24j40: Don't use netdev_ieee802154_t for link layer address
2019-01-13 13:17:40 +01:00
a6e7882879
mrf24j40: use byteorder for address operations 2019-01-13 12:03:03 +01:00