Why Nostr? What is Njump?
2023-11-24 14:22:01
in reply to

hirohito on Nostr: kirby: classic edition There is no NUL termination, strlen(buff) will not work. You ...

There is no NUL termination, strlen(buff) will not work.
You want to zero the memory you get after you realloc().
You also might get a buffer overflow error if you get exactly 72 bytes, because then there will be no more room left for a NUL terminator.
Author Public Key
npub17r08usmtwh60uq2rdm9f35vk7nuvcn4eudhh9n640ah678tsltds4skjhs