https://bugzilla.mindrot.org/show_bug.cgi?id=2449

--- Comment #2 from Darren Tucker <[email protected]> ---
Comment on attachment 2687
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2687
uid for expansion in ControlPath

>-      char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV];
>+      char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV],
>+          uidstr[11];
>       char cname[NI_MAXHOST];

I'd maybe make uidstr part of the following line for neatness.

Also, someone will eventually make a 64 bit uid_t, so perhaps you want
to spend the extra 10 bytes of stacks space now?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to