Why C is fine with overwriting memory sometimes? Fatal glibc error: malloc assertion failure in sysmalloc
Why code A works fine, but code B gives an error?
The only difference is a printf. Also note that I’m accessing out of range memory.
And GCC is fine with that. I even overwritten RAM memory easily in example A.
Why C is fine with overwriting memory sometimes? Fatal glibc error: malloc assertion failure in sysmalloc
Why code A works fine, but code B gives an error?
The only difference is a printf. Also note that I’m accessing out of range memory.
And GCC is fine with that. I even overwritten RAM memory easily in example A.
Why C is fine with overtiring memory sometimes? Fatal glibc error: malloc assertion failure in sysmalloc
Why code A works fine, but code B gives an error?
The only difference is a printf. Also note that I’m accessing out of range memory.
And GCC is fine with that. I even overwritten RAM memory easily in example A.