Date: Tue, 22 Aug 2006 03:05:51 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netsmb smb_crypt.c smb_iod.c smb_rq.c smb_rq.h Message-ID: <200608220305.k7M35pr3083190@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2006-08-22 03:05:51 UTC FreeBSD src repository Modified files: sys/netsmb smb_crypt.c smb_iod.c smb_rq.c smb_rq.h Log: Fix misalignment bugs caused by invalid type casts of pointers returned by md_reserve(). Space reserved by mb_reserve() is byte aligned and need to be used in conjunction with le16enc() and le32enc(). Tested on: ia64 Revision Changes Path 1.10 +2 -2 src/sys/netsmb/smb_crypt.c 1.17 +2 -2 src/sys/netsmb/smb_iod.c 1.17 +4 -4 src/sys/netsmb/smb_rq.c 1.5 +3 -3 src/sys/netsmb/smb_rq.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608220305.k7M35pr3083190>