#526 drouting: crash for routing through GWs with zero prefix

1.8.x
closed-fixed
modules (454)
7
2012-05-15
2012-05-14
Ovidiu Sas
No

If a drouting module is performing routing through a GW configured with a zero length prefix, opensips will crash:
line 1422 in drouting.c will set val.s.len to -1 which will lead to a crash while creating the new AVP.

Regards,
Ovidiu Sas

Discussion

    • priority: 5 --> 7
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-fixed
     
  • Hi Ovidiu,

    Thanks for report - the fix is on trunk and 1.8. Please confirm it and if so, close the ticket.

    Regards,
    Bogdan

     
  • Ovidiu Sas
    Ovidiu Sas
    2012-05-15

    Tested ok (no more crashes).

    Thanks,
    Ovidiu

     
  • Ovidiu Sas
    Ovidiu Sas
    2012-05-15

    • status: open-fixed --> closed-fixed