Subject: Re: [PATCH v3 11/23] untracked cache: load from UNTR index extension

From: Junio C Hamano <[email-masked]>
Date: Mon, 15 Dec 2014 11:35:37 -0800

Nguyễn Thái Ngọc Duy  <[email-masked]> writes:

> +struct untracked_cache *read_untracked_extension(const void *data, unsigned long sz)
> +{
> +	const struct ondisk_untracked_cache *ouc;
> +	struct untracked_cache *uc;
> +	struct read_data rd;
> +	const unsigned char *next = data, *end = data + sz;

data + sz is arithmetic on void * which is a no-no.