[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a problem with login and hostname
From: |
Mark Kettenis |
Subject: |
Re: a problem with login and hostname |
Date: |
Mon, 13 Nov 2000 21:18:56 +0100 |
Date: Mon, 13 Nov 2000 20:04:22 +0100
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
This is a glibc bug. In libc/hurd/get-host.c, the returned buffer is not
null terminated if there is no newline in the file. A patch is below, I
didn't test it, but it's sort of obvious what is going wrong.
Mark, can you commit this or a patch with a similar effect?
Thanks Marcus, I checked it in.
Mark