Heap Inspection Security Vulnerability | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Man, the quality of content is such, that it could be behind a paywall. Thanks for sharing it freely!

amidfallen
Автор

Thanks for the tutorial!
For completeness: Accessing a memory area (reading or writing) that has been freed by free is "undefined behavior".
This must not be done under any circumstances and leads to errors that are difficult to find. Even if you use another pointer for it (i.e. copy the memory address).

starcw
Автор

it happened again, in mine if I free(password), when i iterate print other_ptr it does not show the original password (it prints gibberish).
but if I don't free(password) then yeah I can see the password when I iterate print other_ptr.

This made me wonder has there been an update in terms of memory safety in the most recent C version?

pietraderdetective
Автор

In my case the password was not there anymore. Is it possible that my system or compiler is re-writing this memory space?

vicsteiner
Автор

I copied and pasted the same code but it doesn't print the password after free() ?!

freeCodeCamp_Arabic
Автор

hi, if free() does not clear the memory, why we use it exactly, I do not get

nazrinsultanli
Автор

Hello Could make video lesson about how to find 500 factorial or a + b = c (1 < a, b < 10^1000)

wo.temurbek
Автор

So how do you properly clear the memory since free doesn't?

codingoftheuniverse
Автор

"use after free" vulnerability

deepblackoutlaw
Автор

Reason to not use C at industrial level

Aran
welcome to shbcf.ru