title: What is security cookie in C++?
body: <p>I have read from Google that it is used for controlling buffer overruns at application level and it is called by CRT.
  It also says that </p>
  
  <p>" Essentially, on entry to an overrun-protected function, the cookie is put on the stack, and on exit, the value on the stack is compared against the global cookie. Any difference between them indicates that a buffer overrun has occurred and results in immediate termination of the program."</p>
  
  <p>But I could not much understand how it works? Please help.</p>