lkml.org 
[lkml]   [2009]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Patch] net: fix an array index overflow
Date
Amerigo Wang  wrote:
> Don't use the address of an out-of-boundary element.

Why not? There is nothing wrong with using a pointer to an element
one-past-the-end in this way. It's idiomatic C.


\
 
 \ /
  Last update: 2009-12-01 17:09    [W:1.676 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site