HomeClusterLabs Projects
Diffusion LibQB f5fd0c950ce1

Fix: ipc: Prevent fd and memory leaks in handle_new_connection()

Description

Fix: ipc: Prevent fd and memory leaks in handle_new_connection()

In handle_new_connection(), connection_accept() could fail, which would
leave the state of the connection inactive. Previously, in this case,
the socket and the allocated qb_ipcs_connection would be leaked.

Details

Provenance
gao-yanAuthored on Oct 6 2015, 11:48 AM
Parents
rQ1a7ea3b8d8bf: log: don't call dlopen inside dl_iterate_phdr()
Branches
Unknown
Tags
Unknown

Event Timeline