Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Advanced C Pro Tip: malloc() returns NULL only in one case

70,156 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Mohit Mishra profil fotoğrafı
Mohit Mishra1 yıl önce

Credits: @tsoding

Ivica Bogosavljevic profil fotoğrafı
Ivica Bogosavljevic1 yıl önce

malloc can return a valid pointer and then, when you try to write to it, it crashes. it's like a poor person with a fake gucci bag

マリク profil fotoğrafı
マリク1 yıl önce

yeah, I need to watch this guy videos

Mohit Mishra profil fotoğrafı
Mohit Mishra1 yıl önce

everyone should 😉

Karsten Aalderks 🚴‍♀️ 🎻 🎒 ⛽️ profil fotoğrafı
Karsten Aalderks 🚴‍♀️ 🎻 🎒 ⛽️1 yıl önce

In 1987 we used a virtual memory routine from Marc Adler under MS-DOS and scrolled 16GB of Oracle V.5 Data in our own text window!

Nic Barker profil fotoğrafı
Nic Barker1 yıl önce

Only malloc, never free, buy more ram - tsoding

Твиттерский эксперт №1 profil fotoğrafı
Твиттерский эксперт №11 yıl önce

What is he doing? Checking the value returned by malloc with ASSERT? 🤦🤦‍♀️🤦‍♂️

Medha Jain profil fotoğrafı
Medha Jain1 yıl önce

Can u share the link

Mohit Mishra profil fotoğrafı
Mohit Mishra1 yıl önce

it was shared on the discord channel with me. Let me check if I can find the video for this

PELock profil fotoğrafı
PELock1 yıl önce

Will do!

Benzer Videolar