mirror of https://github.com/sipwise/rtpengine.git
Older glibc uses a strange (and seemingly broken) approach to verifying
the cmsg structures by inspecting the *next* cmsg header and using its
length to see if there is enough space in the buffer. Since we're
constructing the cmsg list, at this point there is no next cmsg yet,
therefore causing spurious failures of CMSG_NXTHDR.
Work around this by initialising the entire buffer first.
See 9c443ac455
closes #1720
Change-Id: I00ce9bc5686ab0c1612aff51f1b3e75d8cbd8a69
pull/1729/head
parent
14dbc561a7
commit
1e4efc60db
Loading…
Reference in new issue