[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADvbK_d43Qb86Mjx7BuP9tC_DSw-bO=o2k7nyhw=-Y7Tp6ft9g@mail.gmail.com>
Date: Tue, 25 Aug 2015 20:28:51 +0800
From: lucien xin <lucien.xin@...il.com>
To: vyasevic@...hat.com
Cc: network dev <netdev@...r.kernel.org>,
Marcelo Ricardo Leitner <mleitner@...hat.com>,
davem <davem@...emloft.net>
Subject: Re: [PATCH net] sctp: asconf's process should verify address
parameter is in the beginning
>
> Sorry, you can't do that directly without a lot more checks. The parameer
> may be only only partial, or may not be there at all. You'd end up looking
> at wrong mememory.
>
> A better way would be to set the addr_param_seen only when looking at
> the first parameter (addip_hdr.params).
>
I will repost it
--
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