[Bug 3269] sshbuf_get_u32() called with enum type argument in monitor.c

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 4 09:57:11 AEDT 2021


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |djm at mindrot.org

--- Comment #4 from Damien Miller <djm at mindrot.org> ---
Writing an overflowing value into an int is still undefined behaviour
so we want to avoid that too.

In any case, it's trivial to change the type of the received value to
u_int, so I committed that as 160db17fc678

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list