Skip to content
Snippets Groups Projects
  1. Apr 06, 2017
  2. Apr 04, 2017
    • Richard Mudgett's avatar
      res_pjsip_sdp_rtp.c: Don't alter global addr variable. · f2ee8ac2
      Richard Mudgett authored
      * create_rtp(): Fix unexpected alteration of global address_rtp if a
      transport is bound to an address.
      
      * create_rtp(): Fix use of uninitialized memory if the endpoint RTP media
      address is invalid or the transport has an invalid address.
      
      ASTERISK-26851
      
      Change-Id: Icde42e65164a88913cb5c2601b285eebcff397b7
      f2ee8ac2
    • Corey Farrell's avatar
      CDR: Protect from data overflow in ast_cdr_setuserfield. · 380973cc
      Corey Farrell authored
      ast_cdr_setuserfield wrote to a fixed length field using strcpy. This could
      result in a buffer overrun when called from chan_sip or func_cdr. This patch
      adds a maximum bytes written to the field by using ast_copy_string instead.
      
      ASTERISK-26897 #close
      patches:
        0001-CDR-Protect-from-data-overflow-in-ast_cdr_setuserfie.patch submitted
          by Corey Farrell (license #5909)
      
      Change-Id: Ib23ca77e9b9e2803a450e1206af45df2d2fdf65c
      380973cc
  3. Apr 03, 2017
  4. Apr 01, 2017
  5. Mar 31, 2017
  6. Mar 30, 2017
    • zuul's avatar
    • Sean Bright's avatar
      cdr_pgsql: Fix buffer overflow calling libpq · c537f994
      Sean Bright authored
      Implement the same buffer size checking done in cel_pgsql.
      
      ASTERISK-26896 #close
      Reported by: twisted
      
      Change-Id: Iaacfa1f1de7cb1e9414d121850d2d8c2888f3f48
      c537f994
    • Walter Doekes's avatar
      build: Fix deb build issues with fakeroot · a7d94f50
      Walter Doekes authored
      If DESTDIR is set, don't call ldconfig. Assume that DESTDIR is used to
      create a binary archive. The ldconfig call should be delegated to the
      archive postinst script. This fixes the case where fakeroot wraps 'make
      install' causing $EUID to be 0 even though it doesn't have permission to
      call ldconfig.
      
      The previous logic in configure.ac to detect and correct libdir
      has been removed as it was not completely accurate.  CentOS 64-bit
      users should again specifiy --libdir=/usr/lib64 when configuring
      to prevent install to /usr/lib.
      
      Updated Makefile:check-old-libdir to check for orphans in
      lib64 when installing to lib as well as orphans in lib when installing
      to lib64.
      
      Updated Makefile and main/Makefile uninstall targets to remove the
      orphans using the new logic.
      
      ASTERISK-26705
      
      Change-Id: I51739d4a03e60bff38be719b8d2ead0007afdd51
      a7d94f50
    • zuul's avatar
    • Joshua Colp's avatar
      sdp: Add support for setting connection address and clean up state. · f3290d6b
      Joshua Colp authored
      This change cleans up state management for media streams by moving
      RTP instances into their own session structure and adding additional
      details that are not relevant to the core (such as connection address).
      These can live either in the local capabilities or joint capabilities.
      
      The ability to set explicit connection address information for
      the purposes of direct media and NAT has also been added at the
      global and stream specific level.
      
      ASTERISK-26900
      
      Change-Id: If7e5307239a9534420732de11c451a2705b6b681
      f3290d6b
    • Sean Bright's avatar
      astobj2: Prevent potential deadlocks with ao2_global_obj_release · 5c1ea3eb
      Sean Bright authored
      The ao2_global_obj_release() function holds an exclusive lock on the
      global object while it is being dereferenced. Any destructors that
      run during this time that call ao2_global_obj_ref() will deadlock
      because a read lock is required.
      
      Instead, we make the global object inaccessible inside of the write
      lock and only dereference it once we have released the lock. This
      allows the affected destructors to fail gracefully.
      
      While this doesn't completely solve the referenced issue (the error
      message about not being able to create an IQ continues to be shown)
      it does solve the backtrace spew that accompanied it.
      
      ASTERISK-21009 #close
      Reported by: Marcello Ceschia
      
      Change-Id: Idf40ae136b5070dba22cb576ea8414fbc9939385
      5c1ea3eb
    • Corey Farrell's avatar
      CEL: Remove header declarations of non-existant functions. · 4e5cc70f
      Corey Farrell authored
      ast_cel_alloc and ast_cel_destroy do not exist in code, remove them from
      the headers.
      
      Change-Id: I99ce848e2e109e7d61771559f559b9e57973e45c
      4e5cc70f
    • Joshua Colp's avatar
      7ac5a339
  7. Mar 29, 2017
  8. Mar 28, 2017
  9. Mar 27, 2017
    • Richard Mudgett's avatar
      Add DTLS sanity check. · 3d8899ba
      Richard Mudgett authored
      Change-Id: Ib32612cf6c7ce9213a11b9cba82f630f8cd3564b
      3d8899ba
    • Joshua Colp's avatar
      channel: Remove old epoll support and fixed max number of file descriptors. · 5d938045
      Joshua Colp authored
      This change removes the old epoll support which has not been used or
      maintained in quite some time.
      
      The fixed number of file descriptors on a channel has also been removed.
      File descriptors are now contained in a growable vector. This can be
      used like before by specifying a specific position to store a file
      descriptor at or using a new API call, ast_channel_fd_add, which adds
      a file descriptor to the channel and returns its position.
      
      Tests have been added which cover the growing behavior of the vector
      and the new API call.
      
      ASTERISK-26885
      
      Change-Id: I1a754b506c009b83dfdeeb08c2d2815db30ef928
      5d938045
    • Sean Bright's avatar
      res_musiconhold: Document the 'format' option · fd204d5c
      Sean Bright authored
      ASTERISK-26086 #close
      Reported by: Jens Bürger
      
      Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e
      fd204d5c
    • Sean Bright's avatar
      core: Remove embedded module support · cf6a6226
      Sean Bright authored
      This has not worked for some time and is no longer actively maintained.
      
      Change-Id: I5110b0db69c152761b58fa025cb0a53b0e544d99
      cf6a6226
    • Sean Bright's avatar
      res_musiconhold: Don't chdir() when scanning MoH files · d22c6789
      Sean Bright authored
      There doesn't appear to be any reason that we are chdir'ing in
      moh_scan_files, and in the event of an Asterisk crash, the core files
      may not get written because we have changed into a read-only directory.
      
      ASTERISK-23996 #close
      Reported by: Walter Doekes
      
      Change-Id: Iac806dce01b3335963fbd62d4b4da9a65c614354
      d22c6789
  10. Mar 25, 2017
  11. Mar 24, 2017
Loading