https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Talk%3AStack_overflow Talk:Stack overflow - Revision history 2025-05-27T20:50:14Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.2 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=1199576502&oldid=prev Qwerfjkl (bot): Implementing WP:PIQA (Task 26) 2024-01-27T11:38:19Z <p>Implementing <a href="/wiki/Wikipedia:PIQA" class="mw-redirect" title="Wikipedia:PIQA">WP:PIQA</a> (<a href="/wiki/Wikipedia:Bots/Requests_for_approval/Qwerfjkl_(bot)_26" title="Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 26">Task 26</a>)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:38, 27 January 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject <del style="font-weight: bold; text-decoration: none;">Computing</del>|class=<del style="font-weight: bold; text-decoration: none;">start</del>|<del style="font-weight: bold; text-decoration: none;">importance=low}}</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject <ins style="font-weight: bold; text-decoration: none;">banner shell</ins>|class=<ins style="font-weight: bold; text-decoration: none;">Start</ins>|</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject Computing|importance=low}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:stack buffer overflows are covered in depth elsewhere, while they're occasionally referred to as "stack overflows", I would argue that usage is incorrect. -- [[User:Taviso|taviso]] 04:45, 9 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:stack buffer overflows are covered in depth elsewhere, while they're occasionally referred to as "stack overflows", I would argue that usage is incorrect. -- [[User:Taviso|taviso]] 04:45, 9 August 2007 (UTC)</div></td> </tr> </table> Qwerfjkl (bot) https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=861112872&oldid=prev Namnatulco: /* "Very deep recursion" */ 2018-09-25T05:27:36Z <p><span class="autocomment">&quot;Very deep recursion&quot;</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:27, 25 September 2018</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 62:</td> <td colspan="2" class="diff-lineno">Line 62:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This section seems to suggest that a stack may be required to convert primitive recursion to a loop. It's my understanding that '''all''' primitive recursion can be converted to a loop '''without''' a stack. By my understanding, it's non-primitive recursion that would require a stack to be implemented into a loop. Is the article wrong or am I misinformed? If the article is correct, I would suggest further citations and notes be added. [[Special:Contributions/68.117.55.155|68.117.55.155]] ([[User talk:68.117.55.155|talk]]) 05:11, 25 September 2018 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This section seems to suggest that a stack may be required to convert primitive recursion to a loop. It's my understanding that '''all''' primitive recursion can be converted to a loop '''without''' a stack. By my understanding, it's non-primitive recursion that would require a stack to be implemented into a loop. Is the article wrong or am I misinformed? If the article is correct, I would suggest further citations and notes be added. [[Special:Contributions/68.117.55.155|68.117.55.155]] ([[User talk:68.117.55.155|talk]]) 05:11, 25 September 2018 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:The article is trying to say that it is necessary for this to be done due to finite memory, essentially. The example clarifies it a bit; the recursive implementation on the left in practice requires more memory than the loop implementation on the right, because of the way functions are implemented in most architectures. In practice this means that if you do recursion in C++ or a similar language using the example on the left, you're going to waste a lot of memory, because every time the function is called, space on the stack is reserved for the argument, a base pointer, a return pointer and the function's scope. Does that help? I'm not really sure how to modify the article to explain this better, though, and I don't have a reference on hand that I can add. [[User:Namnatulco|Namnatulco]] ([[User talk:Namnatulco|talk]]) 05:27, 25 September 2018 (UTC)</div></td> </tr> </table> Namnatulco https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=861111647&oldid=prev 68.117.55.155: /* "Very deep recursion" */ new section 2018-09-25T05:11:16Z <p><span class="autocomment">&quot;Very deep recursion&quot;: </span> new section</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:11, 25 September 2018</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 58:</td> <td colspan="2" class="diff-lineno">Line 58:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Yes, these are quite distinct: different causes (overrun at the end of the stack usually caused by deep recursion ''versus'' a buffer overflow in the middle of the stack caused by insufficient bounds checking) and different effects (program crash ''versus'' exploitable security hole). A "stack buffer overflow" is always a kind of "buffer overflow", but does not necessarily cause a "stack overflow".</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Yes, these are quite distinct: different causes (overrun at the end of the stack usually caused by deep recursion ''versus'' a buffer overflow in the middle of the stack caused by insufficient bounds checking) and different effects (program crash ''versus'' exploitable security hole). A "stack buffer overflow" is always a kind of "buffer overflow", but does not necessarily cause a "stack overflow".</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: I can understand the confusion of non (systems) programmers, however, so the article should probably address this explicitly. I could not come up with a good way to phrase this, though. —''[[User:Ruud Koot|Ruud]]'' 10:01, 17 September 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: I can understand the confusion of non (systems) programmers, however, so the article should probably address this explicitly. I could not come up with a good way to phrase this, though. —''[[User:Ruud Koot|Ruud]]'' 10:01, 17 September 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== "Very deep recursion" ==</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This section seems to suggest that a stack may be required to convert primitive recursion to a loop. It's my understanding that '''all''' primitive recursion can be converted to a loop '''without''' a stack. By my understanding, it's non-primitive recursion that would require a stack to be implemented into a loop. Is the article wrong or am I misinformed? If the article is correct, I would suggest further citations and notes be added. [[Special:Contributions/68.117.55.155|68.117.55.155]] ([[User talk:68.117.55.155|talk]]) 05:11, 25 September 2018 (UTC)</div></td> </tr> </table> 68.117.55.155 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=770918702&oldid=prev Mervyn: start class 2017-03-18T12:15:27Z <p>start class</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:15, 18 March 2017</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject Computing|class=|importance=}}</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject Computing|class=<ins style="font-weight: bold; text-decoration: none;">start</ins>|importance=<ins style="font-weight: bold; text-decoration: none;">low</ins>}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> </tr> </table> Mervyn https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=648472183&oldid=prev 103.9.114.94 at 13:07, 23 February 2015 2015-02-23T13:07:58Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 13:07, 23 February 2015</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject Computing|class=|importance=}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{WikiProject Computing|class=|importance=}}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==Proposed Rewrite==</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>I've rewritten this article to expand it to include buffer overflows that have a security implication (as well as including the current content), you can see it [[User:Abaddon314159/sandbox|here]]. It could use some other eyes (preferably eyes of someone that can spell) and could use some more sources, but all in all I think its a better article...I'm looking for comments, feel free to edit it in my sandbox for now and if there are no objectsion by, say, this time next week, I'll integrate the changes into the existing article... --[[User:Abaddon314159|Michael Lynn]] 08:38, 8 August 2007 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:stack buffer overflows are covered in depth elsewhere, while they're occasionally referred to as "stack overflows", I would argue that usage is incorrect. -- [[User:Taviso|taviso]] 04:45, 9 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:stack buffer overflows are covered in depth elsewhere, while they're occasionally referred to as "stack overflows", I would argue that usage is incorrect. -- [[User:Taviso|taviso]] 04:45, 9 August 2007 (UTC)</div></td> </tr> </table> 103.9.114.94 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=625927210&oldid=prev Ruud Koot: /* Proposed merge of "Stack buffer overflow" into "Stack overflow" (this article) */ cmt 2014-09-17T10:01:42Z <p><span class="autocomment">Proposed merge of &quot;Stack buffer overflow&quot; into &quot;Stack overflow&quot; (this article): </span> cmt</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:01, 17 September 2014</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 55:</td> <td colspan="2" class="diff-lineno">Line 55:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify?</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify?</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:PS: Looking again at the jargony noun-noun-noun term, I noticed that "stack buffer overflow" is not guaranteed to parse correctly. I have to point out: "Stack buffer overflow" is not "overflow" of the "stack buffer" (no one even calls the stack the "stack buffer"); it is "overflow" of a "buffer" that happens to be on the "stack"! -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:PS: Looking again at the jargony noun-noun-noun term, I noticed that "stack buffer overflow" is not guaranteed to parse correctly. I have to point out: "Stack buffer overflow" is not "overflow" of the "stack buffer" (no one even calls the stack the "stack buffer"); it is "overflow" of a "buffer" that happens to be on the "stack"! -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:: Yes, these are quite distinct: different causes (overrun at the end of the stack usually caused by deep recursion ''versus'' a buffer overflow in the middle of the stack caused by insufficient bounds checking) and different effects (program crash ''versus'' exploitable security hole). A "stack buffer overflow" is always a kind of "buffer overflow", but does not necessarily cause a "stack overflow".</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:: I can understand the confusion of non (systems) programmers, however, so the article should probably address this explicitly. I could not come up with a good way to phrase this, though. —''[[User:Ruud Koot|Ruud]]'' 10:01, 17 September 2014 (UTC)</div></td> </tr> </table> Ruud Koot https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=612856122&oldid=prev A876: /* Proposed merge of "Stack buffer overflow" into "Stack overflow" (this article) */ PS: alternative parsing can cause misunderstanding. 2014-06-14T05:53:29Z <p><span class="autocomment">Proposed merge of &quot;Stack buffer overflow&quot; into &quot;Stack overflow&quot; (this article): </span> PS: alternative parsing can cause misunderstanding.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:53, 14 June 2014</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 53:</td> <td colspan="2" class="diff-lineno">Line 53:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Stack buffer overflow" (better-named "stack buffer overrun"), a type of "buffer overflow" (better-named "'''buffer overrun'''"), is a single errant operation caused by storing multi-byte data into an allocated multi-byte space (buffer) that is not long enough, which, due to lack of safeguards, silently malfunctions, '''overwriting adjacent memory cells that are allocated to other data''', causing crashes or weird behavior, or facilitating execution of [[code injection|injected code]] or [[return-oriented programming|returns to injected addresses]]. (And don't forget buffer-read overruns, which can disclose random samples of data that should not be disclosed (Heartbleed).)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Stack buffer overflow" (better-named "stack buffer overrun"), a type of "buffer overflow" (better-named "'''buffer overrun'''"), is a single errant operation caused by storing multi-byte data into an allocated multi-byte space (buffer) that is not long enough, which, due to lack of safeguards, silently malfunctions, '''overwriting adjacent memory cells that are allocated to other data''', causing crashes or weird behavior, or facilitating execution of [[code injection|injected code]] or [[return-oriented programming|returns to injected addresses]]. (And don't forget buffer-read overruns, which can disclose random samples of data that should not be disclosed (Heartbleed).)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:That they happen to sound alike is too feeble to justify a merger. The result would be crude, explaining two different kinds of malfunction that both involve the stack. I might merge "Stack buffer overflow" into "Buffer overflow" if I -just had to- merge something, but -never- into "Stack overflow".</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:That they happen to sound alike is too feeble to justify a merger. The result would be crude, explaining two different kinds of malfunction that both involve the stack. I might merge "Stack buffer overflow" into "Buffer overflow" if I -just had to- merge something, but -never- into "Stack overflow".</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify?<del style="font-weight: bold; text-decoration: none;"> -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify?</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:PS: Looking again at the jargony noun-noun-noun term, I noticed that "stack buffer overflow" is not guaranteed to parse correctly. I have to point out: "Stack buffer overflow" is not "overflow" of the "stack buffer" (no one even calls the stack the "stack buffer"); it is "overflow" of a "buffer" that happens to be on the "stack"! -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> </tr> </table> A876 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=612853709&oldid=prev A876: refactoring: moved Teemu Leisti's comments about the move discussion (and his edit comment) from a very old thread down into the current move discussion. (i did not see his comment before writing mine.) 2014-06-14T05:16:10Z <p>refactoring: moved Teemu Leisti&#039;s comments about the move discussion (and his edit comment) from a very old thread down into the current move discussion. (i did not see his comment before writing mine.)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:16, 14 June 2014</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:No objections here, sounds like a good idea to me. -- [[User:Taviso|taviso]] 15:14, 11 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:No objections here, sounds like a good idea to me. -- [[User:Taviso|taviso]] 15:14, 11 August 2007 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::Ok then, I'll start making the edits and get it ready later today... --[[User:Abaddon314159|Michael Lynn]] 01:35, 12 August 2007 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::Ok then, I'll start making the edits and get it ready later today... --[[User:Abaddon314159|Michael Lynn]] 01:35, 12 August 2007 (UTC)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===Another view: merge into "Buffer overflow"===</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_5_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_1_3_lhs"></a>I came to this talk page because the template at the top of the article says that merging <del style="font-weight: bold; text-decoration: none;">this</del> <del style="font-weight: bold; text-decoration: none;">article</del> <del style="font-weight: bold; text-decoration: none;">to</del> article [[Stack overflow]] is being proposed. As pointed out in the discussion above, "stack overflow" means something different, that is, the condition when the memory reserved for a program's stack is exceeded. If <del style="font-weight: bold; text-decoration: none;">this</del> <del style="font-weight: bold; text-decoration: none;">article</del> should be merged anywhere, it should be into the article [[Buffer overflow]]. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 14:42, 29 May 2014 (UTC)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Jeff Atwood, Joel Spolsky, and StackOverflow.com==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Jeff Atwood, Joel Spolsky, and StackOverflow.com==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 34:</td> <td colspan="2" class="diff-lineno">Line 30:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Is StackOverflow.com popular enough that it should have an article? I've heard people ask what Stack Overflow is (and not talking about what this article is about). Once it has an article, I guess a link to the article from this page or a disambiguation page would make sense. --[[User:Benatkin|Ben Atkin]] ([[User talk:Benatkin|talk]]) 18:05, 28 August 2008 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Is StackOverflow.com popular enough that it should have an article? I've heard people ask what Stack Overflow is (and not talking about what this article is about). Once it has an article, I guess a link to the article from this page or a disambiguation page would make sense. --[[User:Benatkin|Ben Atkin]] ([[User talk:Benatkin|talk]]) 18:05, 28 August 2008 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del style="font-weight: bold; text-decoration: none;"> </del>You know, I think it is. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:06, 6 June 2014 (UTC)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:You know, I think it is. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:06, 6 June 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Oh, and I just noticed it has been done already: [[Stack Overflow]], also redirected to from [[Stack Overflow (website)]]. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:08, 6 June 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Oh, and I just noticed it has been done already: [[Stack Overflow]], also redirected to from [[Stack Overflow (website)]]. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:08, 6 June 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 52:</td> <td colspan="2" class="diff-lineno">Line 48:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:They are not about the same topic. Both overflows are types of bounds violations. A stack overflow occurs when a program is attempting to use the stack, but instead accesses memory beyond the bounds of the stack. From reading the other article, it looks to me like a stack buffer overflow occurs when a program attempts to access a data structure located within the stack, but accesses memory beyond the bounds of the data structure. —[[User:Tanner Swett|Tanner Swett]] ([[User talk:Tanner Swett|talk]]) 21:19, 15 February 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:They are not about the same topic. Both overflows are types of bounds violations. A stack overflow occurs when a program is attempting to use the stack, but instead accesses memory beyond the bounds of the stack. From reading the other article, it looks to me like a stack buffer overflow occurs when a program attempts to access a data structure located within the stack, but accesses memory beyond the bounds of the data structure. —[[User:Tanner Swett|Tanner Swett]] ([[User talk:Tanner Swett|talk]]) 21:19, 15 February 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::It feels like splitting hairs to have two articles, both talking about computer science issues that are almost but not quite the same. The differences and subtleties could easily be noted in a single article IMO. [[User:Michaelward82|Michaelward82]] ([[User talk:Michaelward82|talk]]) 14:53, 6 May 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::It feels like splitting hairs to have two articles, both talking about computer science issues that are almost but not quite the same. The differences and subtleties could easily be noted in a single article IMO. [[User:Michaelward82|Michaelward82]] ([[User talk:Michaelward82|talk]]) 14:53, 6 May 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_1_3_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_5_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;">:::"Stack buffer overflow" should not be merged into "Stack overflow". </ins>I came to this talk page because the template at the top of the article says that merging <ins style="font-weight: bold; text-decoration: none;">"Stack</ins> <ins style="font-weight: bold; text-decoration: none;">buffer</ins> <ins style="font-weight: bold; text-decoration: none;">overflow" into</ins> article [[Stack overflow]] is being proposed. As pointed out in the discussion<ins style="font-weight: bold; text-decoration: none;"> far</ins> above<ins style="font-weight: bold; text-decoration: none;"> (ending 12 August 2007)</ins>, "stack overflow" means something different, that is, the condition when the memory reserved for a program's stack is exceeded. If <ins style="font-weight: bold; text-decoration: none;">"Stack</ins> <ins style="font-weight: bold; text-decoration: none;">buffer overflow"</ins> should be merged anywhere, it should be into the article [[Buffer overflow]]. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 14:42, 29 May 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:These are two VERY DIFFERENT things.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:These are two VERY DIFFERENT things.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Stack overflow" usually happens via operations that are all individually valid (push, call, allocate), but collectively '''use up''' the available, allocated stack space. On modern processors, stack overflow triggers an exception. </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Stack overflow" usually happens via operations that are all individually valid (push, call, allocate), but collectively '''use up''' the available, allocated stack space. On modern processors, stack overflow triggers an exception. </div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:"Stack buffer overflow" (better-named "stack buffer overrun"), a type of "buffer overflow" (better-named "'''buffer overrun'''"), is a single errant operation caused by storing multi-byte data into an allocated space that is not long enough, which, due to lack of safeguards, silently malfunctions, '''overwriting adjacent memory cells that are allocated to other data''', causing crashes or weird behavior, or facilitating execution of [[code injection|injected code]] or [[return-oriented programming|returns to injected addresses]]. (And don't forget buffer-read overruns, which can disclose random samples of data that should not be disclosed (Heartbleed).)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:"Stack buffer overflow" (better-named "stack buffer overrun"), a type of "buffer overflow" (better-named "'''buffer overrun'''"), is a single errant operation caused by storing multi-byte data into an allocated<ins style="font-weight: bold; text-decoration: none;"> multi-byte</ins> space<ins style="font-weight: bold; text-decoration: none;"> (buffer)</ins> that is not long enough, which, due to lack of safeguards, silently malfunctions, '''overwriting adjacent memory cells that are allocated to other data''', causing crashes or weird behavior, or facilitating execution of [[code injection|injected code]] or [[return-oriented programming|returns to injected addresses]]. (And don't forget buffer-read overruns, which can disclose random samples of data that should not be disclosed (Heartbleed).)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:That they happen to sound alike is too feeble to justify a merger. The result would be crude, explaining two different kinds of malfunction that both involve the stack. I might merge "Stack buffer overflow" into "<del style="font-weight: bold; text-decoration: none;">buffer</del> overflow" if I -had to- merge something, but -never- into "Stack overflow".</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:That they happen to sound alike is too feeble to justify a merger. The result would be crude, explaining two different kinds of malfunction that both involve the stack. I might merge "Stack buffer overflow" into "<ins style="font-weight: bold; text-decoration: none;">Buffer</ins> overflow" if I -<ins style="font-weight: bold; text-decoration: none;">just </ins>had to- merge something, but -never- into "Stack overflow".</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify? -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify? -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> </tr> </table> A876 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=612852618&oldid=prev A876: /* Proposed merge */ sorry, no. two VERY DIFFERENT things. 2014-06-14T05:01:00Z <p><span class="autocomment">Proposed merge: </span> sorry, no. two VERY DIFFERENT things.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:01, 14 June 2014</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 48:</td> <td colspan="2" class="diff-lineno">Line 48:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In principle stacks are unbounded, however in practice there are bounds even on user defined stacks, and I believe this article does, reasonably, attempt to describe machine stacks, not user defined data structures. &lt;small&gt;&lt;span class="autosigned"&gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Skaller|Skaller]] ([[User talk:Skaller|talk]] • [[Special:Contributions/Skaller|contribs]]) 16:00, 29 May 2013 (UTC)&lt;/span&gt;&lt;/small&gt;&lt;!-- Template:Unsigned --&gt; &lt;!--Autosigned by SineBot--&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In principle stacks are unbounded, however in practice there are bounds even on user defined stacks, and I believe this article does, reasonably, attempt to describe machine stacks, not user defined data structures. &lt;small&gt;&lt;span class="autosigned"&gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Skaller|Skaller]] ([[User talk:Skaller|talk]] • [[Special:Contributions/Skaller|contribs]]) 16:00, 29 May 2013 (UTC)&lt;/span&gt;&lt;/small&gt;&lt;!-- Template:Unsigned --&gt; &lt;!--Autosigned by SineBot--&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==<del style="font-weight: bold; text-decoration: none;"> </del>Proposed merge ==</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==Proposed merge <ins style="font-weight: bold; text-decoration: none;">of "Stack buffer overflow" into "Stack overflow" (this article)</ins>==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This article and [[Stack buffer overflow]] seem to be <del style="font-weight: bold; text-decoration: none;">aout</del> the same thing. Is there any reason why they should not be merged? [[User:Peter Flass|Peter Flass]] ([[User talk:Peter Flass|talk]]) 12:59, 26 January 2014 (UTC)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This article and [[Stack buffer overflow]] seem to be <ins style="font-weight: bold; text-decoration: none;">about</ins> the same thing. Is there any reason why they should not be merged? [[User:Peter Flass|Peter Flass]] ([[User talk:Peter Flass|talk]]) 12:59, 26 January 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:They are not about the same topic. Both overflows are types of bounds violations. A stack overflow occurs when a program is attempting to use the stack, but instead accesses memory beyond the bounds of the stack. From reading the other article, it looks to me like a stack buffer overflow occurs when a program attempts to access a data structure located within the stack, but accesses memory beyond the bounds of the data structure. —[[User:Tanner Swett|Tanner Swett]] ([[User talk:Tanner Swett|talk]]) 21:19, 15 February 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:They are not about the same topic. Both overflows are types of bounds violations. A stack overflow occurs when a program is attempting to use the stack, but instead accesses memory beyond the bounds of the stack. From reading the other article, it looks to me like a stack buffer overflow occurs when a program attempts to access a data structure located within the stack, but accesses memory beyond the bounds of the data structure. —[[User:Tanner Swett|Tanner Swett]] ([[User talk:Tanner Swett|talk]]) 21:19, 15 February 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::It feels like splitting hairs to have two articles, both talking about computer science issues that are almost but not quite the same. The differences and subtleties could easily be noted in a single article IMO. [[User:Michaelward82|Michaelward82]] ([[User talk:Michaelward82|talk]]) 14:53, 6 May 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>::It feels like splitting hairs to have two articles, both talking about computer science issues that are almost but not quite the same. The differences and subtleties could easily be noted in a single article IMO. [[User:Michaelward82|Michaelward82]] ([[User talk:Michaelward82|talk]]) 14:53, 6 May 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:These are two VERY DIFFERENT things.</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:"Stack overflow" usually happens via operations that are all individually valid (push, call, allocate), but collectively '''use up''' the available, allocated stack space. On modern processors, stack overflow triggers an exception. </div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:"Stack buffer overflow" (better-named "stack buffer overrun"), a type of "buffer overflow" (better-named "'''buffer overrun'''"), is a single errant operation caused by storing multi-byte data into an allocated space that is not long enough, which, due to lack of safeguards, silently malfunctions, '''overwriting adjacent memory cells that are allocated to other data''', causing crashes or weird behavior, or facilitating execution of [[code injection|injected code]] or [[return-oriented programming|returns to injected addresses]]. (And don't forget buffer-read overruns, which can disclose random samples of data that should not be disclosed (Heartbleed).)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:That they happen to sound alike is too feeble to justify a merger. The result would be crude, explaining two different kinds of malfunction that both involve the stack. I might merge "Stack buffer overflow" into "buffer overflow" if I -had to- merge something, but -never- into "Stack overflow".</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:"Oh, drat these computers, they're so naughty and so complex. I could pinch them." -(Marvin the Martian, circa 2453) WHY do we have to defend against the urge to oversimplify? -[[User:A876|A876]] ([[User talk:A876|talk]]) 05:00, 14 June 2014 (UTC)</div></td> </tr> </table> A876 https://en.wikipedia.org/w/index.php?title=Talk:Stack_overflow&diff=611801016&oldid=prev Teemu Leisti: /* Jeff Atwood, Joel Spolsky, and StackOverflow.com */ 2014-06-06T10:08:16Z <p><span class="autocomment">Jeff Atwood, Joel Spolsky, and StackOverflow.com</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:08, 6 June 2014</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 35:</td> <td colspan="2" class="diff-lineno">Line 35:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: You know, I think it is. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:06, 6 June 2014 (UTC)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: You know, I think it is. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:06, 6 June 2014 (UTC)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:: Oh, and I just noticed it has been done already: [[Stack Overflow]], also redirected to from [[Stack Overflow (website)]]. [[User:Teemu Leisti|Teemu Leisti]] ([[User talk:Teemu Leisti|talk]]) 10:08, 6 June 2014 (UTC)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== changed bad wording ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== changed bad wording ==</div></td> </tr> </table> Teemu Leisti