Re: [PATCH] btrfs: prevent heap corruption inbtrfs_ioctl_space_info()

From: Dan Rosenberg
Date: Wed Feb 09 2011 - 11:46:47 EST



>
> Argh sorry I take it back, this is wrong, we can have multiple raid types per
> space info, so you need to put the slot_count-- in the inner loop farther down
> to count the actual slots we're adding. Thanks,
>

Good catch, thanks.

Reviewed-by: Dan Rosenberg <drosenberg@xxxxxxxxxxxxx>

-Dan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/