Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72415 - PPP 2.4.2 without USE=mppe-mppc crashes on 64-bit architectures
Summary: PPP 2.4.2 without USE=mppe-mppc crashes on 64-bit architectures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 20:32 UTC by Martin McClure
Modified: 2004-12-06 12:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin McClure 2004-11-24 20:32:42 UTC
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.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-11-29 10:55:27 UTC
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.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-12-06 12:10:27 UTC
fixed in ppp-2.4.3