1. 23 Nov, 2018 3 commits
  2. 21 Nov, 2018 2 commits
  3. 08 Nov, 2018 1 commit
  4. 06 Nov, 2018 1 commit
  5. 31 Oct, 2018 2 commits
  6. 27 Oct, 2018 1 commit
  7. 23 Oct, 2018 1 commit
  8. 15 Oct, 2018 2 commits
  9. 12 Sep, 2018 1 commit
  10. 11 Sep, 2018 2 commits
  11. 14 Jul, 2018 1 commit
    • Nikita Egorov's avatar
      Append size check in scte35_validate. · 99481459
      Nikita Egorov authored
      In function scte35_validate psi_check_crc call execute without data
      size check. The syntax flag in scte35 PSI by definition is false so
      psi_validate will be true. In such case scte35_validate may overflow on
      zero length PSI size.
      99481459
  12. 01 Jul, 2018 1 commit
  13. 21 May, 2018 1 commit
  14. 12 May, 2018 1 commit
  15. 02 May, 2018 6 commits
  16. 30 Apr, 2018 1 commit
  17. 01 May, 2018 1 commit
  18. 30 Apr, 2018 2 commits
  19. 10 Apr, 2018 1 commit
  20. 09 Apr, 2018 1 commit
    • Rafaël Carré's avatar
      eit_print: avoid calling printf two times · 595b1b14
      Rafaël Carré authored
      The first printf also has this problem:
      if hour, min or sec is >= 100 we can overflow duration_str
      
      Also use %u for hours as it can be >= 100
      
      In file included from ./bitstream/dvb/si_print.h:35:0,
                       from dvb_print_si.c:42:
      dvb_print_si.c: In function ‘handle_section’:
      ./bitstream/dvb/si/eit_print.h:108:42: warning: ‘%02d’ directive writing between 2 and 3 bytes into a region of size between 2 and 4 [-Wformat-overflow=]
               sprintf(duration_str, "%02d:%02d:%02d", hour, min, sec);
                                                ^~~~
      ./bitstream/dvb/si/eit_print.h:108:31: note: directive argument in the range [0, 165]
               sprintf(duration_str, "%02d:%02d:%02d", hour, min, sec);
                                     ^~~~~~~~~~~~~~~~
      In file included from /usr/include/stdio.h:862:0,
                       from dvb_print_si.c:33:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 9 and 12 bytes into a destination of size 10
         return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             __bos (__s), __fmt, __va_arg_pack ());
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      595b1b14
  21. 21 Mar, 2018 1 commit
  22. 19 Mar, 2018 1 commit
  23. 14 Mar, 2018 6 commits