On Thursday 02 February 2012 06:03:13 Juha Heinanen
wrote:
i went through december commits to master and
found that before this commit:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-
router;a=commit;h=3775eb7730b2cd5491864109945b31f15df28f1a
sip router works ok with the config below, but
does not start after the
commit.
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*));
that's right, thanks for spotting. You can commit the change.
Cheers,
Daniel
--
Daniel-Constantin Mierla --