Patents
US 7,631,249 B2#3492691 Most CitedExpiredUnited States (USPTO)Utility

Dynamically determining a buffer-stack overrun

23Forward Citations (#3492691 Global)
1.4/yrCitation Velocity (#4180155 Global)
2.93Citation PageRank (#7863916 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Example embodiments provide for effectively executing a stack-walk and other operations by dynamically accessing information about the expected location of cookies on a stack. For example, a first function is executed that causes a stack-walk operation to occur. While performing the stack-walk operation, cookie location information for a cookie placed on the stack by a second function different from the first function is accessed. The cookie, if uncorrupted, includes a known value that is used to determine if the stack has been corrupted. Based on the cookie location information, corrupt data representative of the cookie is accessed. A global cookie, which also includes the known value, is also accessed. The known value of the global cookie is then compared with the corrupt data to determine that the stack is corrupted at least up to the location of the corrupt data representative of the cookie.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 23.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a computing system having a processor and memory which stores a stack that includes a data area for storing requests, functions, intermediate results, or other data awaiting processing, a method performed by the processor for effectively executing a stack-walk operation by dynamically accessing information about an expected location of a cookie placed on the stack by another operation and used in determining if a portion of the stack has been corrupted, the method comprising: calling a first function that executes a stack-walk operation for identifying protected data on a stack, the stack b

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • "/GS (Buffer Security Check)," Microsoft Corporation, available at http://msdn2.microsoft.com/en-us/library/8dbf701c(vs.80).aspx (copy of PDF enclosed entitled "Article 2," 2 pages).
  • Robert Horvick, "Stack Buffer Overrun Example," Robert Horvick's Weblog, Jan. 16, 2004, available at http://blogs.msdn.com/roberthorvick/archive/2004/01/16/59460.aspx (copy of PDF enclosed entitled "Article 1." 4 pages).