cvs commit: src/sys/netsmb smb_subr.c

Christian S.J. Peron csjp at FreeBSD.org
Mon Jan 23 20:08:50 PST 2006


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


More information about the cvs-src mailing list