Why Nostr? What is Njump?
2024-01-28 19:34:33
in reply to

Louis on Nostr: npub18g4k0…2n4gd Researching a bit about it, the problem really is that during ...

Researching a bit about it, the problem really is that during compilation time, GCC does not know if "buf" is still valid or a freed memory block. This is why GCC shows you the warning.

Generally I would consider to rewrite the code in a way so that you don't see the warning message. I.e. by storing the buf pointer in an intermediate variable.
Author Public Key
npub1tp9e9qhmc02khh3jzpn8vmqwhj3u25yw352ed2x87zs4e2ps2uwqhadzfn