Re: [RFC PATCH 5/9] Fix memory corruption in free_slot() from radix tree

2009-07-09 Thread Pekka Enberg
On Thu, 2009-07-09 at 07:17 +0300, Eduard - Gabriel Munteanu wrote: This bug affects arches where sizeof(int) != sizeof(unsigned long). The key should be unsigned long so it doesn't get truncated. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- lib/radix-tree.c |

[RFC PATCH 5/9] Fix memory corruption in free_slot() from radix tree

2009-07-08 Thread Eduard - Gabriel Munteanu
This bug affects arches where sizeof(int) != sizeof(unsigned long). The key should be unsigned long so it doesn't get truncated. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- lib/radix-tree.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git