[OpenJDK 2D-Dev] RFR: JDK-8260432: allocateSpaceForGP in freetypeScaler.c might leak memory [v3]
Matthias Baesken
mbaesken at openjdk.java.net
Thu Jan 28 08:25:03 UTC 2021
> The function AllocateSpaceForGP in freetypeScaler.c calls potentially 2 times malloc ; however the memory is not always freed correctly in case of errors.
> See also the related sonar issue :
> https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=c&open=AXck8B_SBBG2CXpcngxr&resolved=false&severities=BLOCKER&types=BUG
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
JDK-8260426
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2250/files
- new: https://git.openjdk.java.net/jdk/pull/2250/files/afda19e5..70c3e879
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2250&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2250&range=01-02
Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/2250.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2250/head:pull/2250
PR: https://git.openjdk.java.net/jdk/pull/2250
More information about the 2d-dev
mailing list