1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix
Olaf Bergmann 83e2932eb6 posix_sockets.c: fix send()/write() for connected UDP sockets
Calling send() or write() on a connected UDP socket raises a
kernel panic in posix_sockets.c, line 215, because _sockaddr_to_ep()
is called from socket_sendto() with address set to NULL.

This change modifies socket_sendto() to

* Check if the UDP socket is connected when the address argument
  is NULL.
* If connected, use the stored remote endpoint for sock_udp_send().
2019-04-10 11:19:13 +02:00
..
include Revert "posix/osx: fix type conflict on OSX native" 2018-04-12 17:48:27 +02:00
inet sys/posix: make posix module provide only headers. 2019-03-20 12:57:13 +01:00
pthread posix/pthread_rwlock: fix unsigned variable comparison 2018-08-21 13:58:39 +02:00
semaphore timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
sockets posix_sockets.c: fix send()/write() for connected UDP sockets 2019-04-10 11:19:13 +02:00
time sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: fix posix wrapper documentation 2014-12-06 02:05:51 +01:00