Bug#804653: nano: hostname local-part hard-coded limit to 31 characters

2015-11-23 Thread Benno Schulenberg
Thanks for the report. This should be fixed in nano-2.4.3. (The hard limit is still there, but that is because we simply don't need more characters. But now the overflow case is handled properly.) Benno -- http://www.fastmail.com - The professional email service

Bug#804653: nano: hostname local-part hard-coded limit to 31 characters

2015-11-10 Thread Lucian Atoderesei
Package: nano Version: 2.4.2-1 Severity: normal Dear Maintainer, * nano has a hardcoded limit of 31 characters long in the following code: === char myhostname[32]; [...] if (gethostname(myhostname, 31) < 0) { statusbar(_("Couldn't determine hostname for lock file: %s"), strerro