gaytabase on Nostr: Why it is bad idea to check result of malloc call with assert 😬
Why it is bad idea to check result of malloc call with assert
😬
Published at
2026-07-14 16:42:14 UTCEvent JSON
{
"id": "01727ca72f3223e5a96cc9c0edc4aa62bc2366dd5a87cc2c8ffffdc35133a8a7",
"pubkey": "45bb41041d622779cd9db704b7d74a3885835cd31d98199481fbea3da703fa5d",
"created_at": 1784047334,
"kind": 1,
"tags": [
[
"proxy",
"https://social.treehouse.systems/users/dysfun/statuses/116919326131233516",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "\n\nWhy it is bad idea to check result of malloc call with assert\n\n😬",
"sig": "068865b9bdaa9addba48a6bdf0284629e7889d64966776f73ffe41517032deae1a3f493ad1ad674abb3b1e78a7b6bb9212454848edf90b00d631032ff84a7615"
}