gluon-firmware/package/gluon-neighbour-info/src
Matthias Schiffer 51a1708453
gluon-neighbour-info: avoid recv() with NULL buffer (#2323)
Calling functions like recv() with a NULL buffer is not explicitly
allowed by the POSIX standard, so it must be avoided to be portable
across different libc implementations. Allocate an initial buffer before
handling requests, and also pass this buffer to the peek recv() call.

Fixes: 531937cf6f ("gluon-neighbour-info: fix broken output with large results")
2021-10-16 14:01:34 +02:00
..
Makefile gluon-neighbour-info: query direct neighbours 2014-08-28 18:48:57 +02:00
gluon-neighbour-info.c gluon-neighbour-info: avoid recv() with NULL buffer (#2323) 2021-10-16 14:01:34 +02:00