Re: [B.A.T.M.A.N.] [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-12-25 Thread Marek Lindner
On Tuesday, December 25, 2012 03:36:36 Marek Lindner wrote: > > >> > empty, this assumption is wrong: > > >> Why isn't this patch part of Linux 3.7? It seems to be a bugfix and it > > >> was sent early enough? > > > > > > The patch received a reply mere 2 hours after it was sent. Again, > > > plea

Re: [B.A.T.M.A.N.] [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-12-24 Thread Marek Lindner
On Monday, December 24, 2012 23:42:15 Pau Koning wrote: > On Mon, Dec 24, 2012 at 3:38 PM, Marek Lindner wrote: > > On Monday, December 24, 2012 22:18:52 Pau Koning wrote: > >> On Mon, Nov 19, 2012 at 9:08 PM, Sasha Levin wrote: > >> > The code that works with routing_algo assumes that the stri

Re: [B.A.T.M.A.N.] [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-12-24 Thread Pau Koning
On Mon, Dec 24, 2012 at 3:38 PM, Marek Lindner wrote: > On Monday, December 24, 2012 22:18:52 Pau Koning wrote: >> On Mon, Nov 19, 2012 at 9:08 PM, Sasha Levin wrote: >> > The code that works with routing_algo assumes that the string passed is >> > non >> >> > empty, this assumption is wrong: >>

Re: [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-12-24 Thread Pau Koning
On Mon, Nov 19, 2012 at 9:08 PM, Sasha Levin wrote: > The code that works with routing_algo assumes that the string passed is non > empty, this assumption is wrong: Why isn't this patch part of Linux 3.7? It seems to be a bugfix and it was sent early enough? -- To unsubscribe from this list: send

Re: [B.A.T.M.A.N.] [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-12-24 Thread Marek Lindner
On Monday, December 24, 2012 22:18:52 Pau Koning wrote: > On Mon, Nov 19, 2012 at 9:08 PM, Sasha Levin wrote: > > The code that works with routing_algo assumes that the string passed is > > non > > > empty, this assumption is wrong: > Why isn't this patch part of Linux 3.7? It seems to be a bugfi

Re: [PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-11-19 Thread Antonio Quartulli
On Mon, Nov 19, 2012 at 03:08:15PM -0500, Sasha Levin wrote: > The code that works with routing_algo assumes that the string passed is non > empty, this assumption is wrong: > > sh-4.2# echo -ne '\0' > /sys/module/batman_adv/parameters/routing_algo > [ 34.531340] BUG: unable to handle kernel pag

[PATCH] net, batman: don't crash on zero length strings in routing_algo

2012-11-19 Thread Sasha Levin
The code that works with routing_algo assumes that the string passed is non empty, this assumption is wrong: sh-4.2# echo -ne '\0' > /sys/module/batman_adv/parameters/routing_algo [ 34.531340] BUG: unable to handle kernel paging request at 880015142fff [ 34.539191] IP: [] batadv_param_set_