[sr-dev] current master fails to start
Juha Heinanen
jh at tutpro.com
Thu Feb 2 10:17:41 CET 2012
Alex Hermann writes:
> This looks suspicious in that commit:
>
> + _tr_buffer_list = (char**)malloc(TR_BUFFER_SLOTS);
>
>
> Try changing it to:
>
> + _tr_buffer_list = (char**)malloc(TR_BUFFER_SLOTS * sizeof(char*));
alex,
thanks for the tip. i made the above change and after that sip router
starts ok. i'll make more tests tomorrow my time.
in the meantime, perhaps daniel has a comment on this?
-- juha
More information about the sr-dev
mailing list