[Asterisk-Dev] Re: trunk - r7863 /trunk/apps/app_voicemail.c

Kevin P. Fleming kpfleming at digium.com
Mon Jan 9 11:04:30 MST 2006


Tony Mountifield wrote:

> The memset should also be removed. Firstly, it will overflow if
> strlen(mbox) is less than 2, and secondly, since the buffer is now
> exactly the right size, it will be completely filled by the strcpy()
> and strcat().

It was just wrong period... fixed now, thanks.



More information about the asterisk-dev mailing list