Hide Forgot
This bug has been copied from bug #1309439 and has been proposed to be backported to 7.2 z-stream (EUS).
Verified the bug on libtevent Version: libtevent-0.9.26-1.el7_2.1.x86_64 Steps followed during verification: 1. Reproduced the bug with the older build: libtevent-0.9.25-1.el7.x86_64 2. Upon executing the reproducer program with unpatched package, following leaks were reported: # ./a.out full talloc report on 'null_context' (total 18128 bytes in 107 blocks) struct tevent_sig_state contains 17968 bytes in 101 blocks (ref 0) 0x1590680 struct sigaction contains 152 bytes in 1 blocks (ref 0) 0x159f7b0 struct sigaction contains 152 bytes in 1 blocks (ref 0) 0x159f6b0 struct sigaction contains 152 bytes in 1 blocks (ref 0) 0x159f5b0 . . . struct sigaction contains 152 bytes in 1 blocks (ref 0) 0x15996b0 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x1590320 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x1590290 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x1590200 3. With the patched build, the "struct sigaction" shouldn't be reported, see the output: # ./a.out full talloc report on 'null_context' (total 2928 bytes in 7 blocks) struct tevent_sig_state contains 2768 bytes in 1 blocks (ref 0) 0x97e680 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x97e320 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x97e290 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x97e200 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x97e170 struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x97e0e0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1037.html