1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net
Benoît Canet 5e7ea2d9e4 msg: Fix incorrect queues initializations
From core/include/msg.h:

/**
 * @brief Initialize the current thread's message queue.
 *
 * @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
 *                  not be NULL.
 * @param[in] num   Number of ``msg_t`` structures in array.
 *                  **MUST BE POWER OF TWO!**
 *
 * @return 0, if successful
 * @return -1, on error
 */
int msg_init_queue(msg_t *array, int num);

sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values

Closes #3269.

Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
..
ccn_lite Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
crosslayer Merge pull request #3098 from authmillenon/ng_nettest/feat/initial 2015-06-23 17:02:11 +02:00
include everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
link_layer msg: Fix incorrect queues initializations 2015-06-29 06:58:24 +02:00
network_layer fib: added check for passing NULL pointers to fib_get_next_hop() 2015-06-24 09:05:24 +02:00
routing msg: Fix incorrect queues initializations 2015-06-29 06:58:24 +02:00
transport_layer net/ng_udp: mark received payload as NETTYPE_UNDEF 2015-06-22 16:37:03 +02:00
doc.txt fix license headers in non-.c files 2014-08-23 16:16:26 +02:00