[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090930.164451.234667079.davem@davemloft.net>
Date: Wed, 30 Sep 2009 16:44:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: ralf@...ux-mips.org, f6bvp@...e.fr, bernard.pidoux@...c.fr,
netdev@...r.kernel.org, linux-hams@...r.kernel.org
Subject: Re: [PATCH] ax25: Fix possible oops in ax25_make_new
From: Jarek Poplawski <jarkao2@...il.com>
Date: Sun, 27 Sep 2009 22:57:02 +0200
> In ax25_make_new, if kmemdup of digipeat returns an error, there would
> be an oops in sk_free while calling sk_destruct, because sk_protinfo
> is NULL at the moment; move sk->sk_destruct initialization after this.
>
> BTW of reported-by: Bernard Pidoux F6BVP <f6bvp@...e.fr>
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists