[ovs-dev] [PATCH v2] odp-util: Use flexible sized buffer to hold Geneve options.
Ben Pfaff
blp at ovn.org
Fri Dec 22 19:22:34 UTC 2017
On Thu, Dec 21, 2017 at 04:30:05PM -0800, Justin Pettit wrote:
>
>
> > On Dec 4, 2017, at 11:51 AM, Ben Pfaff <blp at ovn.org> wrote:
> >
> > The 'mask' buffer in parse_odp_action() is supposed to always be big
> > enough:
> > /* 'mask' is big enough to hold any key. */
> >
> > Geneve options can be really big and the comment was wrong. In addition,
> > the user might supply more options than can really fit in any case, so
> > we might as well just use a stub.
> >
> > Found by libfuzzer.
> >
> > Reported-by: Bhargava Shastry <bshastry at sec.t-labs.tu-berlin.de>
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
>
> Acked-by: Justin Pettit <jpettit at ovn.org>
Thanks, applied to master and backported as far as 2.4.
More information about the dev
mailing list