[patch] Adding stack markings to the x86 assembly for not using executable stack
doko at ubuntu.com
Thu Aug 27 03:55:55 PDT 2009
This was reported as https://edge.launchpad.net/bugs/409736
Java is marked to have an executable stack. This is potentially dangerous,
and is simply an oversight from one of the compiled assembly files. Adding stack
markings to the assembly solves the issue.
sun/security/ssl/javax/net/ssl/NewAPIs/SessionCacheSizeTests.java passes both
stock and and with non-exec-stack.
gcc -fstack-protector is the default on Ubuntu. I'd like to see this patch for
the IcedTea 1.6 release as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1535 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090827/f82588b0/attachment.bin
More information about the hotspot-dev