pppd/sha1.c in net-dialup/ppp has a number of "unsigned long" declarations, which it assumes are 32 bits. This causes crashes on 64-bit architectures (I've only tested with amd64, but I would think it's true of anything with 64-bit longs). This is fixed in the recently-released upstream ppp 2.4.3. It is also fixed in the mppe-mppc patch that is applied when built with USE=mppe-mppc. One possible fix, for versions prior to 2.4.3, would be to always apply the mppe-mppc patch on 64-bit architectures, regardless of the USE flag. Reproducible: Always Steps to Reproduce: 1.Build ppp 2.4.2 -mppe-mppc 2. Build pptp-client 3. Attempt to open a tunnel to a PPTP server that uses CHAP. Actual Results: "Fatal Signal 11" Expected Results: Continued to negotiate the tunnel.
Well, if 2.4.3 is fixed by the upstream then this bug is fixed in our repository too. I've released an ebuild for ppp-2.4.3 on 27 Nov 2004.
fixed in ppp-2.4.3