Re: [patch 2/2 v2] Staging: rtl8192e: pointer math bug in rtllib_rx_DELBA()

2015-07-19 Thread Mateusz Kulikowski
On 19.07.2015 12:52, Dan Carpenter wrote: > The pointer math here was totally wrong so we were reading nonsense > information from beyond the end of the buffer. It could lead to an oops > if that memory wasn't mapped. > > The "pReasonCode" pointer is assigned but never used so I deleted it. > >

[patch 2/2 v2] Staging: rtl8192e: pointer math bug in rtllib_rx_DELBA()

2015-07-19 Thread Dan Carpenter
The pointer math here was totally wrong so we were reading nonsense information from beyond the end of the buffer. It could lead to an oops if that memory wasn't mapped. The "pReasonCode" pointer is assigned but never used so I deleted it. With-Fix-From: Mateusz Kulikowski Signed-off-by: Dan

[patch 2/2 v2] Staging: rtl8192e: pointer math bug in rtllib_rx_DELBA()

2015-07-19 Thread Dan Carpenter
The pointer math here was totally wrong so we were reading nonsense information from beyond the end of the buffer. It could lead to an oops if that memory wasn't mapped. The pReasonCode pointer is assigned but never used so I deleted it. With-Fix-From: Mateusz Kulikowski

Re: [patch 2/2 v2] Staging: rtl8192e: pointer math bug in rtllib_rx_DELBA()

2015-07-19 Thread Mateusz Kulikowski
On 19.07.2015 12:52, Dan Carpenter wrote: The pointer math here was totally wrong so we were reading nonsense information from beyond the end of the buffer. It could lead to an oops if that memory wasn't mapped. The pReasonCode pointer is assigned but never used so I deleted it.