diff options
author | 2015-01-12 02:15:23 +0000 | |
---|---|---|
committer | 2015-01-12 02:15:23 +0000 | |
commit | 506b1b69c2c6fdbffe678905864ee20ecc78f11d (patch) | |
tree | 0cfce9e1c1c6854abc5333232222081176a8787c /sys/kern/subr_hibernate.c | |
parent | stash the softc in the memory allocated for setting up a task for (diff) | |
download | wireguard-openbsd-506b1b69c2c6fdbffe678905864ee20ecc78f11d.tar.xz wireguard-openbsd-506b1b69c2c6fdbffe678905864ee20ecc78f11d.zip |
Fix a memory leak in bss_dgram.
Free data->saved_message.data. Based on OpenSSL commit:
41cd41c4416f545a18ead37e09e437c75fa07c95 except this version sets a->ptr
to NULL to avoid accidental reuse and handles malloc failing.
ok beck@, input + ok miod@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions