mirror of https://git.musl-libc.org/git/musl
Browse Source
previously, the only way the stopping condition could be met with correct lengths in the headers invoked undefined behavior, adding sizeof(struct cmsghdr) beyond the end of the cmsg buffer. instead, compute and compare sizes rather than pointers.master
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue