1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00
Cenk Gündoğan f41fe7bb04 destiny: segfault due to dereferencing nullpointer
get_socket(i) returns NULL, when no specific socket is found.
Without an appropriate check for NULL, the current state
of the code leads to a segfault.

destiny: added parens

destiny: continuing the loop makes more sense than returning at first sight of NULL
2014-06-03 22:48:01 +02:00
..
2014-03-04 11:14:05 +01:00
2014-01-24 19:04:28 +01:00
2014-05-03 16:39:39 +02:00
2014-05-18 08:53:20 +02:00
2014-02-14 14:36:06 +01:00
2014-02-20 17:16:57 +01:00
2014-05-25 13:40:29 +02:00
2014-05-03 16:39:39 +02:00