What is Nostr?
Alexander Monakov /
npub1cxa…p5yy
2025-02-14 19:41:54
in reply to nevent1q…yrje

Alexander Monakov on Nostr: nprofile1q…utslx Piggo :verified_horse: right BUG_ON I believe is not recommended ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq0cq07ulfyc7y2l8rczk9s36g8j65tq3m6xk9us8hr3ua4ktfmaqqeutslx (nprofile…tslx) Piggo :verified_horse: (nprofile…q955) right

BUG_ON I believe is not recommended in new code

WARN_ON I think depends on developer preferences, but I'm really not sure

The pattern in this function looks "popular", I wouldn't be surprised if coccinelle could uncover many more just in the kernel. Old malloc in musl had one like this.
Author Public Key
npub1cxa7ktjyctezrs4rc5m2jgznhf2a6jnv45ggd82v089lkndhckwq7ap5yy