Difference between Static Corruption and Stack Corruption
Can anyone explain insights about the difference between Stack corruption and Static cor开发者_Go百科ruption ?
Stack corruption is a memory corruption that is a result of an operation in your program e.g. an unbounded array copy results in overwriting elements located in stack (local variables, return address etc). As a result the program crashes or exhibits undefined behavior. Static corruption (I guess you mean corruption of static variables) is just when the variable takes an unexpected value due to some kind of programming error and results in transient bugs
精彩评论