Skip to content
Snippets Groups Projects
  1. Jun 30, 2013
  2. Dec 06, 2012
  3. Dec 04, 2012
  4. Oct 27, 2012
    • Gregory Maxwell's avatar
      Fix several issues with multistream argument validation. · de95da9b
      Gregory Maxwell authored
      As reported by Mark Warner opus_multistream_*_create were depending on
       the behavior of malloc(0) in order to correctly report some kinds of
       argument errors. Bad arguments could be incorrectly reported as
       allocation failures. This changes multistream to explicitly check the
       arguments like the single stream _create functions. The unit tests were
       enough to catch this on systems where malloc(0) returns NULL but didn't
       catch it on other systems because the later _init call would catch the
       bad arguments and trigger the correct error if and only if the malloc
       didn't return a null pointer.
      
      In multistream_encoder_init failures of the internal non-multistream
       init calls were not being caught and propagated. Decode didn't have
       this problem. This propagates the errors and adds additional tests
       (the multistream encoder api is sill under tested) that would have
       detected this error.
      
      Plus add some stronger tests for things like error==NULL for the _create
       functions that take a pointer for error output.
      de95da9b
  5. Oct 11, 2012
  6. Sep 27, 2012
  7. Aug 21, 2012
  8. Aug 08, 2012
  9. Jul 11, 2012
  10. Jun 01, 2012
  11. May 18, 2012
  12. May 16, 2012
  13. Apr 24, 2012
  14. Apr 20, 2012
  15. Nov 26, 2011
  16. Oct 30, 2011
  17. Oct 28, 2011
  18. Oct 27, 2011
  19. Oct 26, 2011
Loading