cvs commit: src/sys/crypto/via padlock.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jul 22 10:04:48 UTC 2006


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


More information about the cvs-all mailing list