Skip to content
Snippets Groups Projects
  1. Aug 06, 2019
  2. Aug 01, 2019
    • Kevin Harwell's avatar
      various modules: json integer overflow · 3656c42c
      Kevin Harwell authored
      There were still a few places in the code that could overflow when "packing"
      a json object with a value outside the base type integer's range. For instance:
      
      unsigned int value = INT_MAX + 1
      ast_json_pack("{s: i}", value);
      
      would result in a negative number being "packed". In those situations this patch
      alters those values to a ast_json_int_t, which widens the value up to a long or
      long long.
      
      ASTERISK-28480
      
      Change-Id: Ied530780d83e6f1772adba0e28d8938ef30c49a1
      3656c42c
    • Sean Bright's avatar
      res_musiconhold: Use a vector instead of custom array allocation · 1f8ae708
      Sean Bright authored
      Change-Id: Ic476a56608b1820ca93dcf68d10cd76fc0b94141
      1f8ae708
    • Joshua Colp's avatar
      res_pjsip: Fix multiple of the same contact in "pjsip show contacts". · 86452c9f
      Joshua Colp authored
      The code for gathering contacts could result in the same contact
      being retrieved and added to the list multiple times. The container
      which stores the contacts to display will now only allow a contact
      to be added to it once instead of multiple times.
      
      ASTERISK-28228
      
      Change-Id: I805185cfcec03340f57d2b9e6cc43c49401812df
      86452c9f
  3. Jul 31, 2019
  4. Jul 30, 2019
  5. Jul 29, 2019
    • Sean Bright's avatar
      manager: Send fewer packets · 5f66fb51
      Sean Bright authored
      The functions that build manager message headers do so in a way that
      results in a single messages being split across multiple packets. While
      this doesn't matter to the remote end, it makes network captures noisier
      and harder to follow, and also means additional system calls.
      
      With this patch, we build up more of the message content into the TLS
      buffer before flushing to the network. This change is completely
      internal to the manager code and does not affect any of the existing
      API's consumers.
      
      Change-Id: I50128b0769060ca5272dbbb5e60242d131eaddf9
      5f66fb51
    • Asterisk Development Team's avatar
    • George Joseph's avatar
      Update master for Asterisk 18 · 8d10028b
      George Joseph authored
      Change-Id: I8b8ed97001446fab0c14d7c89391ee572fb29dd6
      8d10028b
    • Sean Bright's avatar
      res_musiconhold: Use ast_pipe_nonblock() wrapper · 7ce9ee7f
      Sean Bright authored
      Change-Id: Ib0a4b41e5ececbe633079e2d8c2b66c031d2d1f2
      7ce9ee7f
    • George Joseph's avatar
      loader.c: Fix possible SEGV when a module fails to register · 8e44d823
      George Joseph authored
      When a module fails to register itself (usually a coding error
      in the module), dlerror() can return NULL.  We weren't checking
      for that in load_dlopen() before trying to strdup the error message
      so a SEGV was thrown.  dlerror() is now surrounded with an S_OR
      so we don't SEGV.
      
      Change-Id: Ie0fb9316f08a321434f3f85aecf3c7d2ede8b956
      8e44d823
  6. Jul 26, 2019
  7. Jul 24, 2019
  8. Jul 23, 2019
  9. Jul 22, 2019
  10. Jul 19, 2019
Loading