Date: Tue, 24 Jan 2006 04:08:48 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netsmb smb_subr.c Message-ID: <200601240408.k0O48nAJ059711@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2006-01-24 04:08:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/netsmb smb_subr.c
Log:
MFC revision 1.20
date: 2006/01/16 17:03:21; author: csjp; state: Exp; lines: +6 -2
Although we check the return value of copyin(9) while determaining how
long the string is in userspace, afterwards we call malloc(M_WAITOK),
which could sleep for an unknown amount of time. Check the return
value of copyin(9) just to be sure that nothing has changed during that
time.
Revision Changes Path
1.18.2.1 +6 -2 src/sys/netsmb/smb_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601240408.k0O48nAJ059711>
