[jdk18] RFR: 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits

Alexander Zuev kizune at openjdk.java.net
Fri Dec 10 19:49:47 UTC 2021


Made colorBits and maskBits arraus dynamic so they allocated on heap instead of stack.
Added regression test.

-------------

Commit messages:
 - A8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits

Changes: https://git.openjdk.java.net/jdk18/pull/12/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=12&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277299
  Stats: 83 lines in 2 files changed: 58 ins; 0 del; 25 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/12.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/12/head:pull/12

PR: https://git.openjdk.java.net/jdk18/pull/12



More information about the client-libs-dev mailing list