https://bugzilla.mindrot.org/show_bug.cgi?id=3293
Bug ID: 3293
Summary: Check if MAX is already defined in memmem.c
Product: Portable OpenSSH
Version: 8.5p1
Hardware: Other
OS: Windows 10
Status: NEW
Severity: enhancement
Priority: P5
Component: Build system
Assignee: [email protected]
Reporter: [email protected]
defines.h already defined MAX, MIN. It first checks if MAX is not
defined.
In memmem.c, it's assumed MAX is not defined and we define one more
time.
https://github.com/openssh/openssh-portable/blob/d1bd184046bc310c405f45da3614a1dc5b3e521a/defines.h#L487
https://github.com/openssh/openssh-portable/blob/d1bd184046bc310c405f45da3614a1dc5b3e521a/openbsd-compat/memmem.c#L64
--
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