-
- Downloads
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: 531937cf ("gluon-neighbour-info: fix broken output with large results")
Please register or sign in to comment