[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zkhhhap3.fsf@rustcorp.com.au>
Date: Tue, 04 Oct 2011 10:47:28 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jiri Kosina <jkosina@...e.cz>, Andrew Morton <akpm00@...il.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] kmod: prevent kmod_loop_msg overflow in __request_module()
On Fri, 30 Sep 2011 00:18:17 +0200 (CEST), Jiri Kosina <jkosina@...e.cz> wrote:
> On Thu, 29 Sep 2011, Andrew Morton wrote:
> > Well, it will take two billion passes through here to cause the
> > overflow. I really hope you found this problem by inspection!
>
> Unfortunately not, it was more painful experience than code reading :)
Cool!
Changing it to unsigned would have helped too. But I've applied
this....
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists