2018-10-15, 09:36:58 -0700, Stephen Hemminger wrote: > On Fri, 12 Oct 2018 17:34:12 +0200 > Sabrina Dubroca <[email protected]> wrote: > > > I seem to have had a massive brainfart with uses of > > parse_rtattr_nested(). The rtattr* array must have MAX+1 elements, and > > the call to parse_rtattr_nested must have MAX as its bound. Let's fix > > those. > > > > Fixes: b26fc590ce62 ("ip: add MACsec support") > > Signed-off-by: Sabrina Dubroca <[email protected]> > > Applied, > How did it ever work??
I'm guessing it wrote over some other stack variables before their first use. It worked without issue until the JSON patch. Thanks, -- Sabrina
