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. Seerfuchs/dataport-mr11.59c443ac455closes #1720 Change-Id: I00ce9bc5686ab0c1612aff51f1b3e75d8cbd8a69 (cherry picked from commit1e4efc60db)
parent
8f338b7cfe
commit
287f6cb211
Loading…
Reference in new issue