RFR: 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits [v4]

Alexander Zuev kizune at openjdk.java.net
Mon Dec 6 12:49:47 UTC 2021


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

Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:

  elease device context even if colorBits buffer can not be allocated.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6473/files
  - new: https://git.openjdk.java.net/jdk/pull/6473/files/c8d8ee23..d72abd92

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6473&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6473&range=02-03

  Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6473.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6473/head:pull/6473

PR: https://git.openjdk.java.net/jdk/pull/6473



More information about the client-libs-dev mailing list