Skip to content
Snippets Groups Projects
user avatar
Matthias Schiffer authored
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: 531937cf ("gluon-neighbour-info: fix broken output with large results")
51a17084
History
Name Last commit Last update
..