Re: [PATCH] intel-iommu: Fix array overflow

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <mgross@...>
Cc: <linux-kernel@...>, <torvalds@...>, <anil.s.keshavamurthy@...>
Date: Thursday, October 25, 2007 - 3:31 am

At Wed, 24 Oct 2007 16:30:37 -0700,
Mark Gross wrote:

I think not.  The size of fault_reason_strings[] is
MAX_FAULT_REASON_IDX, not + 1.  So gcc warning is correct.
Maybe the main problem is that the constant name is confusing...


Takashi

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] intel-iommu: Fix array overflow, Takashi Iwai, (Tue Oct 23, 4:57 am)
Re: [PATCH] intel-iommu: Fix array overflow, Mark Gross, (Wed Oct 24, 7:30 pm)
Re: [PATCH] intel-iommu: Fix array overflow, Takashi Iwai, (Thu Oct 25, 3:31 am)
Re: [PATCH] intel-iommu: Fix array overflow, Keshavamurthy, Anil S, (Thu Oct 25, 11:15 am)