In case /etc/pptpd.conf does not finish with a newline,
pptpd hangs on startup eating 100% CPU. Tested in
Ubuntu Hoary (pptpd 1.2.1). Adding the missing newline
makes pptpd start fine.
From what I have seen, the bug might be in
configfile.c, function read_config_file.
The do loop logic needs to include the possibility of
files not ending in a newline. In the while just before
the "Long config file..." message, something like
if (buffer[(len = strlen(buffer)) - 1] != '\n' &&
where the && !feof(in) should be added.
The place I where I have located the bug is
which is the cache of what seems to be a repository for
1.1.4 (NOT 1.2.1). I am not able to grab the source
package right now and the sf.net Web to CVS gateway
seems down at the moment.
Log in to post a comment.