#503 B2B - crash when insert_hf in b2b_reply route

modules (454)

insert_hf in b2b_reply route crashes opensips when dummy reply. Patch attached.


  • Bogdan-Andrei Iancu

    Nick, thank you for the patch - your approach is a bit particular to the insert_hf() case; but there are other functions that use the msg->headers, function that suffers from the same problem as insert_hf() .

    What I'm still evaluating is how to proceed with the fix : to fix in b2b to generate a fake reply to be as expected by the rest of opensips ; or to start changing one by one all the function using the "headers" pointer.

    Somehow I'm in favour of option 1 - seems cleaner from logical perpective

  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-accepted
  • Bogdan-Andrei Iancu

    OK, I did a new patch to fix the problem directly from the B2B module - I tested and seems ok.
    Fix was uploaded on trunk and 1.8

  • Bogdan-Andrei Iancu

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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks