https://bugzilla.mindrot.org/show_bug.cgi?id=3734
Bug ID: 3734
Summary: Expression 'l > SIZE_MAX' is always false
Product: Portable OpenSSH
Version: 9.8p1
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Build system
Assignee: [email protected]
Reporter: [email protected]
File:
https://github.com/openssh/openssh-portable/blob/master/sshbuf-misc.c
Line: 221
Expression 'l > SIZE_MAX' is always false , which may be caused by a
logical error: 'l' has a type 'size_t' with minimum value '0' and a
maximum value '18446744073709551615'
Instead, other methods should be used to protect against overflows or
similar problems, or this condition should be removed as unimportant.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs