Do not leak eventfd's for RFCOMM/AVDT/L2CAP
Andre Eisenbach authored
Various users of fixed_queue's do not free the lists properly after
using them. As a result two event fd's leak for each fixed_queue that
is not free'd, as fixed_queue contains two semaphores.

This can lead to run-away file descriptor allocation and an eventual
hard limit leading to various undefined behaviours.

Bug: 27731859
Change-Id: If9ce64b711083bf474d217aa537220065722ad3a
9ccca2b5
Name Last commit Last update
audio_a2dp_hw Fix C/C++ compiler generated warnings
bta Fix C/C++ compiler generated warnings
btcore Get rid of counter
btif Merge "Use audio_session_t consistently" into nyc-dev
build gn-build: Add secondary build tree for gmock
conf Cleanup C and C++ compiler flags
device Fix compile error due to interop_feature_t not being public
doc Remove code related to legacy config file
embdrv Cleanup C and C++ compiler flags
hci Fix a crash triggered when firmware config takes too long
include Replace usage of HCI_GET_CMD_BUF() with osi_malloc()
main Get rid of counter
osi Log error code on wakelock acquisition/release failure
profile Cleanup C and C++ compiler flags
service Fix ParcelHelpersTest.ScanResult unit test
stack Do not leak eventfd's for RFCOMM/AVDT/L2CAP
test Fix C/C++ compiler generated warnings
tools Btsnooz doesn't find snooplog sometimes
udrv Added visibility to the UIPC_Read() errors
utils Cleanup C and C++ compiler flags
vendor_libs Cleanup C and C++ compiler flags
vnd LE Privacy 1.2 and LE secure connections
.gitignore gn-build: Add tinyxml2 as a secondary source
.gn build: Add gtest as a secondary source
Android.mk Remove the need for -Wno-constant-logical-operand
BUILD.gn
CleanSpec.mk
HACKING
MODULE_LICENSE_APACHE2
NOTICE