Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

added 37 characters in body
Source Link
einpoklum
  • 137.8k
  • 86
  • 448
  • 923

UsuallyVery often it is a buffer overrunoverrun; as an example, but generally speaking it is when memory is written to unintentionally.this code:

char buffer[8];
buffer[8] = 'a';

Willwill "stomp" on whatever happens to be in the next thing in memory after bufferbuffer. Generally speaking, 'stomping' is when memory is written to unintentionally.

Usually it is a buffer overrun, but generally speaking it is when memory is written to unintentionally.

char buffer[8];
buffer[8] = 'a';

Will "stomp" on whatever happens to be in the next thing in memory after buffer.

Very often it is a buffer overrun; as an example, this code:

char buffer[8];
buffer[8] = 'a';

will "stomp" on whatever happens to be in the next thing in memory after buffer. Generally speaking, 'stomping' is when memory is written to unintentionally.

Source Link
IronMensan
  • 6.9k
  • 1
  • 29
  • 35

Usually it is a buffer overrun, but generally speaking it is when memory is written to unintentionally.

char buffer[8];
buffer[8] = 'a';

Will "stomp" on whatever happens to be in the next thing in memory after buffer.

default

AltStyle によって変換されたページ (->オリジナル) /