On Sun, 06 Nov 2022 10:44:10 +0000, Matthieu Herrb wrote: > Thanks for the report. You're right that this was overlooked when I > wrote this code. > > I'd suggest the more complete (and paranoid) patch below:
I don't think you can set client->clientIds->cmdname to a constant string such as "" since it is freed later. I think you want: *cmdname = strdup(""); - todd