Date: Fri, 4 Sep 1998 11:26:00 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp ua.h fsm.c ipcp.c lcp.c mp.c Message-ID: <199809041826.LAA29597@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/09/04 11:26:00 PDT
Modified files:
usr.sbin/ppp fsm.c ipcp.c lcp.c mp.c
Added files:
usr.sbin/ppp ua.h
Log:
Don't cast potentially unaligned addresses to pointers to
non-char types on non-i386 architectures.
On Alpha and Sparc we get a bus error if we do.
Revision Changes Path
1.37 +5 -4 src/usr.sbin/ppp/fsm.c
1.65 +16 -14 src/usr.sbin/ppp/ipcp.c
1.63 +23 -22 src/usr.sbin/ppp/lcp.c
1.16 +16 -13 src/usr.sbin/ppp/mp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809041826.LAA29597>
