Re: [PATCH] Fix segfault in diff-delta.c when FLEX_ARRAY is 1
On Tue, Dec 18, 2007 at 01:39:57AM +0000, Pierre Habouzit wrote:
> aka don't do pointer arithmetics on structs that have a FLEX_ARRAY member,
> or you'll end up believing your array is 1 cell off its real address.
I wonder if we could teach sparse to prevent us from using pointer
arithmetics on some types… because I obviously didn't read all the git
code, and I wouldn't be surprised an instance of this still remains
somehwere.
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org