What is Nostr?
Louis :emacs: /
npub1tp9…dzfn
2024-01-28 19:34:33
in reply to nevent1q…h6uw

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

npub18g4k0gljynatgs2anultm3y55tmd2qjxra8wgywe8nqr3cr26g4qe2n4gd (npub18g4…n4gd) 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