[tarantool-patches] Re: [PATCH 2/5] swim: fix a 'use after free' in SWIM tests
Konstantin Osipov
kostja at tarantool.org
Wed Jun 5 09:52:09 MSK 2019
* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/06/03 14:33]:
LGTM.
> test/unit/swim_test_transport.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/test/unit/swim_test_transport.c b/test/unit/swim_test_transport.c
> index c4a1dd774..334ac926e 100644
> --- a/test/unit/swim_test_transport.c
> +++ b/test/unit/swim_test_transport.c
> @@ -85,6 +85,7 @@ swim_test_packet_new(const char *data, int size, const struct sockaddr_in *src,
> static inline void
> swim_test_packet_delete(struct swim_test_packet *p)
> {
> + rlist_del_entry(p, in_queue);
> free(p);
> }
>
> --
> 2.20.1 (Apple Git-117)
>
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list