[patch] Adding stack markings to the x86 assembly for not using executable stack

Matthias Klose 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[1]. 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...
Name: p2.diff
Type: text/x-diff
Size: 1535 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090827/f82588b0/p2.diff 

More information about the distro-pkg-dev mailing list