RFR: 8362884: [GCC static analyzer] unix NetworkInterface.c addif leak on early returns
Volkan Yazici
vyazici at openjdk.org
Wed Aug 27 07:34:54 UTC 2025
Fixes `NetworkInterface.c::addif` memory leak on early returns. Issue reproduction is difficult – didn't add a test.
-------------
Commit messages:
- Release earlier allocations after `malloc()` failure
Changes: https://git.openjdk.org/jdk/pull/26952/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26952&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8362884
Stats: 14 lines in 1 file changed: 11 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/26952.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26952/head:pull/26952
PR: https://git.openjdk.org/jdk/pull/26952
More information about the net-dev
mailing list