I'm still coming to grips with C, but I was wondering why the CVS has:
char *buf = mmalloc((strlen(user) + strlen(pass)) * 2 + 4); = in lines 362 and 460 of freshclam/manager.c
I calculated that it should be + 3 based on 2 bytes for the ":" and 1 byte for the \0 I know it doesn't hurt if the buffer size is overstated, but I was just wondering if I'd missed something.
Thanks Bill
Tomasz Kojm wrote:
Thank you, fixed in CVS.
Best regards,
Tomasz Kojm
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users