Re: capget() overflows buffers.

From: Bojan Smojver
Date: Thu May 22 2008 - 21:21:11 EST

On Thu, 2008-05-22 at 13:53 -0700, Chris Wright wrote:

> cap_user_header_t head = (cap_user_header_t) xcalloc(1, sizeof(cap_user_header_t));
> cap_user_data_t cap = (cap_user_data_t) xcalloc(1, sizeof(cap_user_data_t));

BTW, both of the above allocations have been fixed in Squid 2 & 3, as
they were incorrect. Not sure how that worked before - probably by


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at