[vlc-commits] Win32: set AppContainer and no-SEH flags on PE

Jean-Baptiste Kempf git at videolan.org
Fri Jan 11 17:31:20 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 11 17:30:08 2013 +0100| [bea838fe4501008061369bbd43e0dab48947289c] | committer: Jean-Baptiste Kempf

Win32: set AppContainer and no-SEH flags on PE

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

 extras/package/win32/peflags.pl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/peflags.pl b/extras/package/win32/peflags.pl
index 2acaed0..12c9b79 100755
--- a/extras/package/win32/peflags.pl
+++ b/extras/package/win32/peflags.pl
@@ -39,8 +39,10 @@ seek F, 20 + 70, 1;
 my $flags = get_le(2);
 seek F, -2, 1;
 
-$flags |= 0x100;  # NX Compat
 $flags |= 0x40;   # Dynamic Base
+$flags |= 0x100;  # NX Compat
+$flags |= 0x400;  # NO SEH
+$flags |= 0x1000; # App Container
 
 printf F "%c%c", $flags & 0xff,($flags >> 8) & 0xff;
 



More information about the vlc-commits mailing list