[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130520.133834.1122105618365256928.davem@davemloft.net>
Date: Mon, 20 May 2013 13:38:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: isdn@...ux-pingi.de, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] isdn/kcapi: fix a small underflow
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Sun, 19 May 2013 21:36:36 +0300
> In get_capi_ctr_by_nr() and get_capi_appl_by_nr() the parameter comes
> from skb->data. The current code can underflow to one space before the
> start of the array.
>
> The sanity check isn't needed in __get_capi_appl_by_nr() but I changed
> it to match the others.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
--
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