Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 10:04:47 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/crypto/via padlock.c
Message-ID:  <200607221004.k6MA4lTX023137@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2006-07-22 10:04:47 UTC

  FreeBSD src repository

  Modified files:
    sys/crypto/via       padlock.c 
  Log:
  Set ses_ictx and ses_octx to NULL after freeing them, so we won't free
  them twice.
  This is possible for example in situation when session is used in
  authentication context, then freed and then used in encryption context
  and freed - in encryption context ses_ictx and ses_octx are not touched
  at newsession time, but padlock_freesession could still try to free them
  when they are not NULL.
  
  Revision  Changes    Path
  1.7       +2 -0      src/sys/crypto/via/padlock.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607221004.k6MA4lTX023137>