lkml.org 
[lkml]   [2008]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: capget() overflows buffers.
From
Date
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
accident.

http://www.squid-cache.org/bzrview/squid3/trunk/changes?q=9001

--
Bojan



\
 
 \ /
  Last update: 2008-05-23 03:23    [W:0.070 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site