Skip to content
Snippets Groups Projects
  1. Feb 21, 2018
    • George Joseph's avatar
      AST-2018-005: Fix tdata leaks when calling pjsip_endpt_send_response(2) · de871515
      George Joseph authored
      pjsip_distributor:
         authenticate() creates a tdata and uses it to send a challenge or
         failure response.  When pjsip_endpt_send_response2() succeeds, it
         automatically decrements the tdata ref count but when it fails, it
         doesn't.  Since we weren't checking for a return status, we weren't
         decrementing the count ourselves on error and were therefore leaking
         tdatas.
      
      res_pjsip_session:
         session_reinvite_on_rx_request wasn't decrementing the ref count
         if an error happened while sending a 491 response.
         pre_session_setup wasn't decrementing the ref count if
         while sending an error after a pjsip_inv_verify_request failure.
      
      res_pjsip:
         ast_sip_send_response wasn't decrementing the ref count on error.
      
      ASTERISK-27618
      Reported By: Sandro Gauci
      
      Change-Id: Iab33a6c7b6fba96148ed465b690ba8534ac961bf
      de871515
    • George Joseph's avatar
      AST-2018-005: Add a check for NULL tdata in ast_sip_failover_request · c53d8dcb
      George Joseph authored
      It was discovered that there are some corner cases where a pjsip tsx
      might have no last_tx so calling ast_sip_failover_request with
      a NULL last_tx as its tdata would cause a crash.
      
      ASTERISK-27618
      Reported By:  Sandro Gauci
      
      Change-Id: Ic2b63f6d4ae617c4c19dcdec2a7a6156b54fd15b
      c53d8dcb
    • Jenkins2's avatar
      Merge "channel.c: Fix typo." · a1e6320c
      Jenkins2 authored
      a1e6320c
  2. Feb 20, 2018
  3. Feb 19, 2018
  4. Feb 18, 2018
    • Sean Bright's avatar
      res_pjsip_header_funcs: Various cleanups · e4a5c9cc
      Sean Bright authored
       * Prefer strcasecmp() over stricmp()
       * Use a list with no lock since we never actually lock
       * Minor cleanups to error messages
      
      Change-Id: I8446f44795ee8f3072e1c1f9193c6912dfc0c42b
      e4a5c9cc
  5. Feb 17, 2018
  6. Feb 16, 2018
Loading