Page 1 of 1
VLC 2.1.5 is crashed by EMET
Posted: 27 Jul 2014 05:37
by snissen
I see messages in this forum about how VLC 2.1.3 suffered crashes when running Microsoft's EMET that protects against common vulnerabilities.
Well, I didn't have the problem with that version, but I do now with version 2.1.5. I'm running VLC on Windows 7 Ultimate SP1, with all current Windows Update patches, and EMET 4.1 with the Recommended security settings profile.
Can anyone explain why this is happening? Can anyone provide any kind of solution?
I don't want to distribute a version of VLC to everyone in our organization if it has security vulnerability, or even a simple conflict with EMET, which I trust. Sande
Re: VLC 2.1.5 is crashed by EMET
Posted: 27 Jul 2014 10:06
by RĂ©mi Denis-Courmont
EMET has false positives. No news here.
Re: VLC 2.1.5 is crashed by EMET
Posted: 27 Jul 2014 13:20
by snissen
I believe that upgrading to EMET 4.1 Update 1 resolved the error.
Sorry for the false alarm!
Re: VLC 2.1.5 is crashed by EMET, and missing .nsi file
Posted: 28 Jul 2014 18:50
by snissen
And another problem: the .7z archive does not contain the vlc.win32.nsi file needed to customize the VLC options.
In the past, when this file was missing, so were other files needed to do the NSIS "compile".
Any thoughts?
Re: VLC 2.1.5 is crashed by EMET. and missing .nsi file
Posted: 28 Jul 2014 18:57
by snissen
And the missing .nsi files (vlc.win32.nsi and spad.nsi) are not in the source code .tar.xz either.
Re: VLC 2.1.5 is crashed by EMET
Posted: 28 Jul 2014 19:09
by snissen
In this case, by "other files", I mean the helpers\ subdirectory with the files extensions.nsh, install.nsh, and utils.nsh.
Though I found vlc.win32.nsi.in (and spad.nsi.in), they won't "compile" in NSIS without the helpers.
Re: VLC 2.1.5 is crashed by EMET, and missing .nsi files
Posted: 28 Jul 2014 20:41
by snissen
With a lot more work than usual, it is possible to use vlc.win32.nsi.in from the source files (extracted from the .tar.xz archive) to create a vlc.win32.nsi that will compile with NSIS 2.46. You'll need the helpers\ subdirectory and files from an earlier version (I used version 2.1.3), and the languages\ and NSIS\ subdirectories from the source files for this version.
Besides the customizations you want to make, you have to resolve the NSIS variables/constants @VERSION@, @PRODUCT_VERSION@, @HAVE_WIN64_TRUE@, @HAVE_WIN64_FALSE@, and @PROGRAMFILES@. You also have to change the include references to the helpers/*.nsh files to be helpers\*.nsh. (In other words, replace the slashes with backslashes.)
Of course, I cannot guarantee that what you end up with will work in every situation. But it worked for me, making a 32-bit version of VLC 2.1.5 that I could install on both 32- and 64-bit Windows 7 and 8.1. Good luck!