Skip to content
Snippets Groups Projects
  1. Dec 28, 2017
    • Richard Mudgett's avatar
      bridge_native_rtp.c: Fix reentrancy framehook crash. · fa36f9c0
      Richard Mudgett authored
      If two channels enter different native rtp bridges at the same time it is
      possible that the framehook interface data pointer can be corrupted
      because the struct variable was declared static.
      
      * Fixed the reentrancy corruption by changing the framehook interface
      struct static variable to a stack local variable.
      
      * Moved the hook.data assignment outside of the channel lock.  It did not
      need the lock's protection.  It probably was giving a false sense of
      security.
      
      The testsuite
      channels/pjsip/basic_calls/two_parties/nominal/alice_initiated/bob_hangs_up
      test caught this with MALLOC_DEBUG and DO_CRASH enabled.
      
      Change-Id: If9e35b97d19209b0f984941c1d8eb5f7c55eea91
      fa36f9c0
  2. Dec 24, 2017
    • Corey Farrell's avatar
      loader: Add volatile to resource_being_loaded. · 23aa20bf
      Corey Farrell authored
      Some compiler optimizers seem to assume that dlopen will not use
      __attribute__((constructor)) functions to call back to the program.
      This was causing resource_being_loaded to be optimized away completely.
      
      ASTERISK-27531 #close
      Tested By: abelbeck
      
      Change-Id: If17a3b889e06811a0e7119f0539d052494d6ece9
      23aa20bf
  3. Dec 22, 2017
  4. Dec 21, 2017
  5. Dec 20, 2017
  6. Dec 19, 2017
Loading