|Anonymous | Login | Signup for a new account||2019-12-15 20:10 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000256||madVR||bug||public||2015-03-01 08:19||2015-03-14 14:59|
|Status||closed||Resolution||no change required|
|Platform||x86_64||OS||Windows||OS Version||8.1 Update 3|
|Summary||0000256: madVR binaries missing security flags (DllCharacteristics)|
|Description||tl;dr madVR is missing /NXCOMPAT and /DYNAMICBASE linker flags. Please link with these flags, they've been enabled by default since Visual Studio 2008.|
I reported this a while ago in the doom9 thread but nothing ever came of it so I may as well make a ticket for this since I made an account here to report something else.
madVR is missing the NXCOMPAT and DYNAMICBASE flags which should be enabled by default with Visual Studio 2008 and newer. I believe it was said in the doom9 thread that you (madshi) was using vs2005 which can be one reason they're not set by default. Other linkers (binutils with mingw-w64) also do not enable these flags by default.
I believe all the madVR binaries are lacking them although I haven't checked them all. The executable files are missing a reloc section entirely.
My recommendation would be to update to a newer version of visual studio if possible (better buffer security checks among many other things) otherwise please set the linker flags as a temporary measure.
|Steps To Reproduce||Not really anything to reproduce but for anyone curious you can look at the output of dumpbin /headers to see what I'm talking about.|
|Additional Information||This can be mitigated against by using the Force ASLR feature in Windows 7 (with kb2639308) and 8/8.1 by adding mpc-hc.exe (or your player of choice) under the application specific IFEO registry entry (also described in ) and setting it to 0x100 (force relocation if a reloc section is present).|
 https://support.microsoft.com/kb/2639308 [^]
|Tags||No tags attached.|
|Media Player (with version info)||mpc-hc 220.127.116.11 (cccp 2014-12-25 beta)|
|Splitter (with version info)||LAVSplitter 0.63.0.0 (cccp 2014-12-25 beta)|
|Decoder (with version info)||LAVVideo 0.63.0.0 (cccp 2014-12-25 beta)|
|DXVA2 Scaling Active||no|
|Aero / Desktop Composition||On|
|Problem occurs with mode||all modes|
|GPU Model||GTX 780 Ti|
|GPU Driver Version||347.52|
|As explained in the forum, I don't consider this a bug, and I don't plan to change this in the near future. Maybe after v1.0 is released, but not before. Sorry...|
|2015-03-01 08:19||TheRyuu||New Issue|
|2015-03-14 14:59||madshi||Note Added: 0000736|
|2015-03-14 14:59||madshi||Status||new => closed|
|2015-03-14 14:59||madshi||Assigned To||=> madshi|
|2015-03-14 14:59||madshi||Resolution||open => fixed|
|2015-03-14 14:59||madshi||Resolution||fixed => no change required|
|Copyright © 2000 - 2012 MantisBT Group|