cvs commit: src/sys/compat/ndis subr_ndis.c

Bill Paul wpaul at FreeBSD.org
Wed Jan 7 11:26:56 PST 2004


wpaul       2004/01/07 11:26:47 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c 
  Log:
  It appears drivers may call NdisWriteErrorLogEntry() with locks
  held. However, if we need to translate a unicode message table message,
  ndis_unicode_to_ascii() might malloc() some memory, which causes
  a warning from witness. Avoid this by using some stack space to hold
  the translated message. (Also bounds check to make sure we don't
  overrun the stack buffer.)
  
  Revision  Changes    Path
  1.30      +5 -3      src/sys/compat/ndis/subr_ndis.c


More information about the cvs-src mailing list