Re: opencvs - use correct size when creating h_table

2016-10-12 Thread Frederic Cambus
On Wed, Jun 22, 2016 at 12:23:38PM +0200, Joris Vink wrote: > Don't allocate the length of a pointer but rather the > entire size of the struct hash_head data structure > when creating the h_table array. > RCS file: /cvs/src/usr.bin/cvs/hash.c,v > > - htable->h_table = xcalloc(hsize,

opencvs - use correct size when creating h_table

2016-06-22 Thread Joris Vink
Hi, Don't allocate the length of a pointer but rather the entire size of the struct hash_head data structure when creating the h_table array. .joris Index: hash.c === RCS file: /cvs/src/usr.bin/cvs/hash.c,v retrieving revision 1.2