[vlc-commits] Win64: use high-entropy ASLR

Jean-Baptiste Kempf git at videolan.org
Wed May 25 00:04:50 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 23 10:16:06 2016 +0200| [3189e48dc85390d471519dd93322e7f1a98540ab] | committer: Jean-Baptiste Kempf

Win64: use high-entropy ASLR

And set the image base to >4GB

This should improve the application security

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3189e48dc85390d471519dd93322e7f1a98540ab
---

 configure.ac |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 87d7c6b..f34562a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,6 +269,7 @@ case "${host_os}" in
                 HAVE_WIN64="1"
                 WINDOWS_ARCH="x64"
                 PROGRAMFILES="PROGRAMFILES64"
+                LDFLAGS="${LDFLAGS} -Wl,--high-entropy-va -Wl,--image-base,0x140000000"
             ;;
             *)
                 WINDOWS_ARCH="x86"



More information about the vlc-commits mailing list