[Bug 197601] net/omnitty: Allow >32-character hostnames
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 13 22:11:19 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197601
Bug ID: 197601
Summary: net/omnitty: Allow >32-character hostnames
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: david at catwhisker.org
Created attachment 152947
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152947&action=edit
Patch to net/omnitty/files/patch-main.c
net/omnitty has a hard-coded 32-byte buffer for entering a hostname "by hand".
(Entering linger hostnames by reading a file avoids this limitation.)
The attached patch relaxes that to 64 bytes -- I was too lazy to fix it by
allocating the storage dynamically -- and makes it a #defined constant (so one
doesn't need to look for all other occurrences of the numeric string in
question to try to determine if they might also be involved).
We already have a patch for the file in question (main.c), so the attached
patch patches the existing patchfile.
I've tested it in a stable/10, environment (both i386 & amd64) -- we have some
33-character hostnames at work.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list