Thursday, 4 August 2011

c++ 'unresolved external symbol __security_cookie '

Long story short, the cause of this error is that /GS switch is a default switch in the compiler shipped with the PSDK.

To fix this problem you need to link your code to bufferoverflowU.lib. This should do it for most of applications out of there.

Just do

cl.exe a.cpp bufferoverflowU.lib

or

link a.obj bufferoverflowU.lib

No comments:

Post a Comment