[Bug 2870] Support "%i" token expansion in the IdentityAgent option

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri May 25 15:02:20 AEST 2018


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3155|0                           |1
        is obsolete|                            |
   Attachment #3155|ok?(dtucker at dtucker.net)    |
              Flags|                            |
   Attachment #3156|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Created attachment 3156
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3156&action=edit
Cast to safe integral value

POSIX says that uid_t can be any integral type, so cast to unsigned
long long. IMO this is safe wrt -ve values, whereas a signed type with
be undefined behaviour on a platform with unsigned uid_t and
sufficiently large UIDs.

-- 
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.


More information about the openssh-bugs mailing list