Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Stack overflow
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Type of software bug}} {{for multi|the website|Stack Overflow|other uses}} In software, a '''stack overflow''' occurs if the [[call stack]] pointer exceeds the [[Stack (abstract data type)|stack]] bound. The call stack may consist of a limited amount of [[address space]], often determined at the start of the program. The size of the call stack depends on many factors, including the programming language, machine architecture, multi-threading, and amount of available memory. When a program attempts to use more space than is available on the call stack (that is, when it attempts to access memory beyond the call stack's bounds, which is essentially a [[buffer overflow]]), the stack is said to ''overflow'', typically resulting in a program [[Crash (computing)|crash]].<ref name="fortran1">{{cite web |last = Burley |first = James Craig |title = Using and Porting GNU Fortran |url = http://sunsite.ualberta.ca/Documentation/Gnu/gcc-2.95.2/html_node/g77_597.html |date = 1991-06-01 |url-status = dead |archive-url = https://web.archive.org/web/20120206112619/http://sunsite.ualberta.ca/Documentation/Gnu/gcc-2.95.2/html_node/g77_597.html |archive-date = 2012-02-06 }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)