RFR: 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits [v2]

Alexander Zuev kizune at openjdk.java.net
Sat Nov 20 05:03:46 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:

  Added bad_malloc handling
  Fixed insets
  Declaration and assignment are now joined

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6473/files
  - new: https://git.openjdk.java.net/jdk/pull/6473/files/fa8a4ed7..16d3eadc

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

  Stats: 11 lines in 1 file changed: 4 ins; 1 del; 6 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