1. 12 May, 2017 3 commits
    • Dridi Boukelmoune's avatar
      Protect the CLEAR_HASH macro from zlib · ea111153
      Dridi Boukelmoune authored
      Spotted by Coverity:
      
          /lib/libvgz/deflate.c: 605 in deflateParams()
          599     }
          600     if (s->level != level) {
          601         if (s->level == 0 && s->matches != 0) {
          602             if (s->matches == 1)
          603                 slide_hash(s);
          604             else
          >>> CID 1401053:  Control flow issues  (NESTING_INDENT_MISMATCH)
          >>> The macro on this line expands into multiple statements, only
          >>> the first of which is nested within the preceding parent while
          >>> the rest are not.
          605                 CLEAR_HASH(s);
          606             s->matches = 0;
          607         }
          608         s->level = level;
          609         s->max_lazy_match   = configuration_table[level].max_lazy;
          610         s->good_match       = configuration_table[level].good_length;
      ea111153
    • Federico G. Schwindt's avatar
      Rework -f option · d0b28d53
      Federico G. Schwindt authored
      We now process the inclusive globs first, and then the exclusive
      ones.  The former are accumulative, while the latter will filter
      the output from the first.
      
      Discussed in detail with and final diff from @mbgrydeland.
      Tests tweaking by yours truly.
      
      Fixes #2320.
      d0b28d53
    • Federico G. Schwindt's avatar
      Division by zero is undefined · 1401f910
      Federico G. Schwindt authored
      1401f910
  2. 08 May, 2017 3 commits
  3. 07 May, 2017 8 commits
  4. 05 May, 2017 13 commits
  5. 04 May, 2017 1 commit
  6. 02 May, 2017 3 commits
  7. 29 Apr, 2017 4 commits
  8. 28 Apr, 2017 5 commits