Skip to content
Snippets Groups Projects
  1. Apr 03, 2025
  2. Apr 02, 2025
    • Ralph Giles's avatar
      gitlab-ci: export all source package versions · fa233f71
      Ralph Giles authored
      Export the .tar.xz and .zip source packages as well as the
      base tar.gz version. Some downstream projects (VLC) expect
      the tar.xz version and this makes it easier to reference.
      
      Also log the checksums of the source packages generated
      by `make distcheck` for later comparison.
      Verified
      fa233f71
  3. Mar 29, 2025
  4. Mar 27, 2025
  5. Mar 26, 2025
  6. Mar 24, 2025
  7. Mar 22, 2025
  8. Mar 21, 2025
  9. Mar 20, 2025
  10. Mar 19, 2025
  11. Mar 17, 2025
    • Petter Reinholdtsen's avatar
      Dropped to allocate memory for comments when there are none. · 8f4aba13
      Petter Reinholdtsen authored
      This avoid calling malloc(0) expecting a non-NULL pointer returned,
      and make the code in oc_comment_unpack() not depend on non POSIX specified
      behaviour.
      
      Ensured comment_lengths and user_comments are NULL if there are no comments.
      
      Thanks to Eric Lasota for noticing.
      
      Fixes #2304
      8f4aba13
  12. Mar 16, 2025
  13. Mar 15, 2025
  14. Mar 14, 2025
    • Jörn Heusipp's avatar
      Add CI for --disable-asm. · fcc5d21e
      Jörn Heusipp authored
      CI currently does not thoroughly test encoding and decoding (except for
      encoding zeroed dummy frames).
      Testing --disable-asm is still useful because it ensures that the code compiles
      on platforms where there are no ASM optimizations and the generic C code paths
      are used.
      fcc5d21e
  15. Mar 10, 2025
    • Petter Reinholdtsen's avatar
      Renamed header file identifiers using C/C++ reserved name structure. · e5ccaa14
      Petter Reinholdtsen authored
      Adjust clang CI run to report warning about reserved identifiers.
      e5ccaa14
    • Petter Reinholdtsen's avatar
      Avoid negative bit shift operatoin in huffdec.c (CVE-2024-56431). · 5665f86b
      Petter Reinholdtsen authored
      A crash was discovered using input fuzzying, in th_decode_ceaderin()
      where the len value in the oc_fuff_tree_unpack() can end up as -1.
      Added a check to ensure this do not happen.
      
      Based on feedback from Timothy B. Terriberry.
      
      The issue was discovered using gcc sanitazion, which reported the following:
      
      huffdec.c:228:27: runtime error: shift exponent -1 is negative
          #0 0x5d471012bfd0 in oc_huff_tree_unpack /home/uos/libtheora-18570/theora/lib/huffdec.c:228
          #1 0x5d471012c134 in oc_huff_trees_unpack /home/uos/libtheora-18570/theora/lib/huffdec.c:392
          #2 0x5d471010a98c in oc_setup_unpack /home/uos/libtheora-18570/theora/lib/decinfo.c:169
          #3 0x5d471010a98c in oc_dec_headerin /home/uos/libtheora-18570/theora/lib/decinfo.c:238
          #4 0x5d471010a98c in th_decode_headerin /home/uos/libtheora-18570/theora/lib/decinfo.c:266
          #5 0x5d47100fd638 in TheoraDecoder::initialize() /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:66
          #6 0x5d47100ffa76 in TheoraDecoder::Run() /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:180
          #7 0x5d47100ffe48 in main /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:240
          #8 0x7cc9a5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
          #9 0x7cc9a5e29e3f in __libc_start_main_impl ../csu/libc-start.c:392
          #10 0x5d47100f9964 in _start (/home/uos/libtheora-18570/libtheora-18570/poc1+0x83964)
      
      Fixes github pull request #19.
      5665f86b
    • Petter Reinholdtsen's avatar
      Added mingw CI build. · 13c10914
      Petter Reinholdtsen authored
      Do not build examples, as it require libvorbis, and do not build
      documentation as it require a host of programs not available
      during cross building.
      13c10914
    • Petter Reinholdtsen's avatar
      Avoided bit shift of negative values in OC_MV() macro. · 5a8228a6
      Petter Reinholdtsen authored
      During video playout using player_example with gcc sanitaztions
      enabled, new bit shifting of negative values were discovered.
      Replaced this with multiplication too.
      5a8228a6
  16. Mar 09, 2025
Loading