summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocf.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-07-22 10:04:47 +0000
committerpjd <pjd@FreeBSD.org>2006-07-22 10:04:47 +0000
commit0495e437293fe165355aa229e2745d21683fc96b (patch)
tree84b3bd47ec6cc61bae99ee3325bf3e855182b3e1 /lib/libc/stdlib/reallocf.c
parentecb3559b0b0aefbcf6d3f7393180dd2ad97e7e28 (diff)
downloadFreeBSD-src-0495e437293fe165355aa229e2745d21683fc96b.zip
FreeBSD-src-0495e437293fe165355aa229e2745d21683fc96b.tar.gz
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.
Diffstat (limited to 'lib/libc/stdlib/reallocf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud