[Swan-commit] Changes to ref refs/heads/main
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Wed Jul 26 08:59:47 EEST 2023
New commits:
commit f2c2917fdfc70ba04f02f30cb8c909fa734607ea
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Wed Jul 26 01:54:46 2023 -0400
pluto packet.c: conform to memcpy rules
The C standare (suprisingly) requires memcpy pointer args
to be to valid addresses, even if the length is zero.
It appears (to lclint) that we violated this.
Now memcpy is only called if the length is not zero.
More information about the Swan-commit
mailing list