zephyr/subsys
Inbar Anson Bratspiess 827f6f1714 net: socket: Release fd on failure in accept()
The zsock_accept_ctx() calls z_reserve_fd() on entry but fails
to call z_free_fd() on failure. This will leak the allocated
socket descriptor.

Fixes #22366

Signed-off-by: Inbar Anson Bratspiess <inbar.anson.bratspiess@330plus.net>
2020-02-10 12:33:22 +02:00
..
bluetooth Bluetooth: controller: split: Fix PHY update tx pause 2020-02-10 10:22:42 +01:00
canbus canbus: isotp: Fix NULL deref after overflow 2020-02-10 12:32:01 +02:00
console console: Have CONSOLE_GET{CHAR,LINE} dep. on SERIAL_SUPPORT_INTERRUPT 2020-01-28 12:56:50 -06:00
cpp kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
debug kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
dfu kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
disk gpio: rename typedef for devicetree flags 2020-02-05 12:00:36 +01:00
fb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
fs
jwt kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
logging kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
mgmt kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
net net: socket: Release fd on failure in accept() 2020-02-10 12:33:22 +02:00
power power: device: deduplicate suspending code 2020-02-02 09:05:15 -05:00
random random: rand32_ctr_drbg: Handle error in initialize function 2020-01-28 13:31:52 -08:00
settings settings: settings_register static table does not need mutex 2020-02-08 10:07:38 +02:00
shell kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
stats
storage
testsuite kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
tracing tracing: usb: Fix build issues. 2020-02-07 20:06:17 -05:00
usb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
CMakeLists.txt tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00
Kconfig tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00