On Tue, 10 Nov 2026 13:39:11 GMT, Matthias Baesken <[email protected]> wrote:
> IconSwap.cpp ChangeIcon checks malloc - results for NULL but seems to check > at one place the wrong variable. > There is also a place in the coding where we currently miss a malloc - check > after the call and should better add it. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: fe7d4fc2 Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/fe7d4fc21f238c68c1e9a76be9124fafd7a42bfc Stats: 9 lines in 1 file changed: 7 ins; 0 del; 2 mod 8396879: IconSwap.cpp ChangeIcon has broken NULL-check after malloc Reviewed-by: mdoerr, lucy ------------- PR: https://git.openjdk.org/jdk/pull/33820
