Re: [PATCH] fix writing to unintended memory in pkt_generic_packet(); drivers/block/pktcdvd.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roel Kluin <12o3l@...>
Cc: lkml <linux-kernel@...>
Date: Tuesday, November 6, 2007 - 6:50 pm

On Tue, Nov 06, 2007 at 11:43:12PM +0100, Roel Kluin wrote:

What are you talking about?  rq->cmd is an array, not a pointer to array.
When it occurs as an argument of +, it decays to pointer to array element.
Please, learn C.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fix writing to unintended memory in pkt_generic_..., Al Viro, (Tue Nov 6, 6:50 pm)