Red Hat Bugzilla – Bug 125501
pppd segfaults when ms-chap is in use on AMD64
Last modified: 2007-11-30 17:10:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
pppd segfaults with signal 11 when ms-chap authentication is used.
The problem is with sha1.c file that assumes that unsigned long is 32-
bits wide (on AMD64 in is 64-bits wide).
Possible solutions are:
1. get rid of sha1.c and use openssl's sha implementation. that
requires some trivial pppd patching
2. Patch sha1.c to use int32 instead of unsigned long (for example as
I would prefer to link in libcrypto.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
run pppd in ms-chap mode
Actual Results: pppd died with signal 11 message in /var/log/message
Fixed in rawhide in rpm ppp-2.4.2-3.1 or newer.