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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nguyễn Thái Ngọc Duy  <pclouds@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]