Re: [PATCH] ratp: avoid using already freed memory

2017-06-05 Thread Sascha Hauer
On Fri, Jun 02, 2017 at 05:48:28PM +0200, Aleksander Morgado wrote: > If ratp_establish() fails we would be accessing the ratp_internal > struct after having disposed it. > > Signed-off-by: Aleksander Morgado > --- > lib/ratp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied

[PATCH] ratp: avoid using already freed memory

2017-06-02 Thread Aleksander Morgado
If ratp_establish() fails we would be accessing the ratp_internal struct after having disposed it. Signed-off-by: Aleksander Morgado --- lib/ratp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ratp.c b/lib/ratp.c index d596a0e8b..22e83636f 100644 --- a/lib/ratp.c +