[reSIProcate] Valgrind complains with Resiprocate

Byron Campen bcampen at estacado.net
Thu May 1 12:19:42 CDT 2008


	Data leaves room for a null-terminator in the c'tor it's using in  
that function (see line 201).

Best regards,
Byron Campen


>
> On 1-May-08, at 07:55 , Byron Campen wrote:
>
>> 	Yeah, I have seen this too, and I haven't had time to get to the  
>> bottom of it. Anyone else?
>
>
> Line 1436 in my version is suspicious.
> Changeset 818, Derek put a nul termination on the data buffer at  
> addr+n, where the buffer is only allocated as n bytes. This is one  
> past the end.
> Our datas are not nul terminated last time I checked, if they are,  
> then the allocation of the ret data in Data::hex needs another byte.
>
> I dont think this is the error though.
>
> Alan
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080501/00777cc6/attachment.bin>


More information about the resiprocate-devel mailing list