ibuf_getdata() abuses the rpos from the ibuf. This is no longer allowed
authorclaudio <claudio@openbsd.org>
Tue, 12 Dec 2023 15:52:58 +0000 (15:52 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 12 Dec 2023 15:52:58 +0000 (15:52 +0000)
commitc45f3621a4984cafb12365fce0a55d4457d95cd4
tree526235476a1c5906ea551000f05ff2573027f839
parent1d75e7eeee580539975faa5c073d6dfd54eac749
ibuf_getdata() abuses the rpos from the ibuf. This is no longer allowed
and breaks because ibuf_seek() now uses rpos itself. Now this is just
ibuf_get_ibuf() with an extra allocation done.
OK tobhe@ tb@
sbin/iked/imsg_util.c