mirror of https://github.com/aya-rs/aya
fix(aya-sock-map): invalid transmute when calling fd
Corrent an invalid transmutation for sock_map. fd is already a ref of MapFd, so transmuting &fd to &SockMapFd is equivalent to transmuting &&SockMapFd into &SockMapFd which is buggy.pull/880/head
parent
46b48053df
commit
061ee08da3
Loading…
Reference in New Issue