This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Buffer overflow prevention system and msbuild

There is a known problem in using Microsoft Visual Studio 2010 (specifically msbuild.exe) with the sophos buffer overflow prevention system: http://connect.microsoft.com/VisualStudio/feedback/details/649139/vs2010-does-complete-rebuild-based-on-completely-unrelated-file

Once this is enabled you can see constant rebuilds of your solution without ever modifying any of your files. This gets really annoying when your solution consists of 30+ projects.

My known 'solutions' to this problems are:

A) Remove the sophos_detoured.dll from being loaded in to every process with the information provided on this site http://www.sophos.com/en-us/support/knowledgebase/36501.aspx. This works as long as the automatic updater decides that it is not necessary to update the registry keys once again, which happened to me today. Either way you will loose the security which is intended to be brought through the buffer overflow protection system.

B) Update the file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.props" with entries to ignore the "config.bops" file. Works propably as long until microsoft decides to update this file, if it is even updateable after you modified it yourself. I did NOT test this, i saw this on forums posted, where some users got it successfully working.

I am posting here because neither method a nor b are good methods to overcome this problem. Am i missing some simple config dialog? Any tips?

:29483


This thread was automatically locked due to age.
Parents Reply Children
No Data