Event JSON
{
"id": "7d1c3fb78d9dbb6cde9ba1be0cbe541cd180e621a22a3f7aa4fd3c50b9dbf54c",
"pubkey": "9e5231bb994c213b4b5bc1d12b01260bc4a8238b77b38f81d1bd270d037e47a5",
"created_at": 1706468859,
"kind": 1,
"tags": [
[
"p",
"488cf7e23a992aeb939745496368a7f38c139e89dbb78f1eb357818e683d6385",
"wss://relay.mostr.pub"
],
[
"p",
"584b9282fbc3d56bde321066766c0ebca3c5508e8d1596a8c7f0a15ca830571c",
"wss://relay.mostr.pub"
],
[
"e",
"553f158ab10b619e82550074462809b2473d6a54384ef8da7e3c25091f6ebaf2",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://emacs.ch/users/graywolf/statuses/111835143144963680",
"activitypub"
]
],
"content": "nostr:npub1fzx00c36ny4whyuhg4ykx6987wxp885fmwmc784n27qcu6pavwzs3wt6h3 I appreciate the help, but I am afraid I do not follow :/ You listed 3 cases, but then you are saying it can be just two of them. I don't follow why. The realloc *can* fail, and, when that happens, the buf should still be valid pointer no? Since the *outp = buf is guarded by the check for the fail (realloc returned NULL), I do not understand why gcc complains...\n\nMaybe to directly ask the question at the core of my not-understanding: If realloc fails (returns NULL), the buffer it operated on is still valid and can be used, yes?",
"sig": "8e24e958213815e1fa059bb1269ff6d73bcc230e3e91107827db0280bbd4a9bc4ca7f39ce3e87688c16ec9a78b159fe21d3612e29c098e33fb6edce5765ab800"
}