1. 09 Feb, 2018 3 commits
    • Pascal Buhler's avatar
      Ensure returned trailer length is sufficient · 55626f32
      Pascal Buhler authored
      The srtp_get_protect_trailer_length needs to ensure
      that the returned value is large enough for any of
      the streams in the session.
      
      When a session is initialized with multiple polices
      it is possible to have different tag lengths for each
      policy. This function provides no way to specify which
      policy to use, so for now loop over all and find largest.
      
      The current function now has limited use so suggest to make
      two functions, one that takes ssrc or packet header so
      correct stream can be used, second function that takes a
      policy.
      
      # Conflicts:
      #	srtp/srtp.c
      55626f32
    • Pascal Buhler's avatar
      Remove needless check of session_keys · 253ac269
      Pascal Buhler authored
      The session_keys array is not shared with the
      template so if it was allocated just free it.
      253ac269
    • Pascal Buhler's avatar
      Prevent OOB access of stream_template->session_keys · 9546e959
      Pascal Buhler authored
      The template may not have been used for the deallocated
      stream, therefore the size of the session_keys array
      could be different.
      
      Should maybe contain a pointer to template from stream
      so it is explicitly known that it was used.
      9546e959
  2. 07 Feb, 2018 1 commit
  3. 26 Jan, 2018 4 commits
  4. 30 Nov, 2017 1 commit
  5. 29 Nov, 2017 2 commits
  6. 28 Nov, 2017 1 commit
    • Pascal Buhler's avatar
      bitvector of length zero is not valid · b44764bf
      Pascal Buhler authored
      Fixes coverity scan issues 179781
      
      If the length resulted in l == 0 then there was no
      allocation of word, which could subsequently be
      dereferenced. Treat length of zero as invalid to
      avoid dealing with it.
      b44764bf
  7. 22 Nov, 2017 3 commits
  8. 20 Nov, 2017 1 commit
  9. 18 Nov, 2017 3 commits
  10. 17 Nov, 2017 1 commit
  11. 16 Nov, 2017 2 commits
  12. 14 Nov, 2017 5 commits
  13. 13 Nov, 2017 3 commits
  14. 12 Nov, 2017 9 commits
  15. 11 Nov, 2017 1 commit