Date: Fri, 13 Feb 2015 22:11:19 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197601] net/omnitty: Allow >32-character hostnames Message-ID: <bug-197601-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: david@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197601-13>