Skip to content
Snippets Groups Projects
  1. Apr 09, 2015
    • Matthew Jordan's avatar
      clang compiler warnings: Fix autological comparisons · ea009872
      Matthew Jordan authored
      This fixes autological comparison warnings in the following:
       * chan_skinny: letohl may return a signed or unsigned value, depending on the
         macro chosen
       * func_curl: Provide a specific cast to CURLoption to prevent mismatch
       * cel: Fix enum comparisons where the enum can never be negative
       * enum: Fix comparison of return result of dn_expand, which returns a signed
         int value
       * event: Fix enum comparisons where the enum can never be negative
       * indications: tone_data.freq1 and freq2 are unsigned, and hence can never be
         negative
       * presencestate: Use the actual enum value for INVALID state
       * security_events: Fix enum comparisons where the enum can never be negative
       * udptl: Don't bother to check if the return value from encode_length is less
         than 0, as it returns an unsigned int
       * translate: Since the parameters are unsigned int, don't bother checking
         to see if they are negative. The cast to unsigned int would already blow
         past the matrix bounds.
       * res_pjsip_exten_state: Use a temporary value to cache the return of
         ast_hint_presence_state
       * res_stasis_playback: Fix enum comparisons where the enum can never be
         negative
       * res_stasis_recording: Add an enum value for the case where the recording
         operation is in error; fix enum comparisons
       * resource_bridges: Use enum value as opposed to -1
       * resource_channels: Use enum value as opposed to -1
      
      Review: https://reviewboard.asterisk.org/r/4533
      ASTERISK-24917
      Reported by: dkdegroot
      patches:
        rb4533.patch submitted by dkdegroot (License 6600)
      ........
      
      Merged revisions 434469 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 434470 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      ea009872
    • Matthew Jordan's avatar
      apps/app_queue: Prevent possible crash when evaluating queue penalty rules · 2201e273
      Matthew Jordan authored
      Although it only occurred once, a crash occurred when a queue attempted to
      evaluate a queue penalty rule that appeared to have already been destroyed.
      In many locations in app_queue, a test is done to see if qe->pr is NULL;
      however, when we dispose of a queue's penalty rules, we don't set the pointer
      to NULL after free'ing it. This patch does that to prevent any dangling
      pointers from lingering on the queue object.
      
      Review: https://reviewboard.asterisk.org/r/4522
      
      ASTERISK-23319 #close
      Reported by: Vadim
      patches:
        rb4552.patch submitted by Stefan Engström (License 6691)
      ........
      
      Merged revisions 434448 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 434449 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2201e273
  2. Apr 08, 2015
  3. Apr 07, 2015
  4. Apr 06, 2015
  5. Apr 05, 2015
  6. Apr 03, 2015
  7. Apr 02, 2015
  8. Apr 01, 2015
  9. Mar 31, 2015
  10. Mar 30, 2015
Loading