tree: bcb6b85adad235df903876ca3ea84a0004a07d2e [path history] [tgz]
  1. abi/
  2. add-subdirectory-project/
  3. benchmarks/
  4. cmake/
  5. CVE-2002-0059/
  6. CVE-2004-0797/
  7. CVE-2005-1849/
  8. CVE-2005-2096/
  9. CVE-2018-25032/
  10. data/
  11. fuzz/
  12. GH-361/
  13. GH-364/
  14. GH-382/
  15. GH-751/
  16. GH-979/
  17. pigz/
  18. .gitignore
  19. abicheck.md
  20. abicheck.sh
  21. CMakeLists.txt
  22. example.c
  23. gh1235.c
  24. infcover.c
  25. Makefile.in
  26. minideflate.c
  27. minigzip.c
  28. pkgcheck.sh
  29. README.md
  30. switchlevels.c
  31. test_adler32.cc
  32. test_aligned_alloc.cc
  33. test_compare256.cc
  34. test_compare256_rle.cc
  35. test_compress.cc
  36. test_compress_bound.cc
  37. test_compress_dual.cc
  38. test_cpu_features.h
  39. test_crc32.cc
  40. test_cve-2003-0107.cc
  41. test_deflate_bound.cc
  42. test_deflate_concurrency.cc
  43. test_deflate_copy.cc
  44. test_deflate_dict.cc
  45. test_deflate_hash_head_0.cc
  46. test_deflate_header.cc
  47. test_deflate_params.cc
  48. test_deflate_pending.cc
  49. test_deflate_prime.cc
  50. test_deflate_quick_bi_valid.cc
  51. test_deflate_quick_block_open.cc
  52. test_deflate_tune.cc
  53. test_dict.cc
  54. test_gzio.cc
  55. test_inflate_adler32.cc
  56. test_inflate_sync.cc
  57. test_large_buffers.cc
  58. test_main.cc
  59. test_raw.cc
  60. test_shared.h
  61. test_shared_ng.h
  62. test_small_buffers.cc
  63. test_small_window.cc
  64. test_version.cc
test/README.md

Contents

NameDescription
CVE-2003-0107Buffer overflow in the gzprintf function, requires ZLIB_COMPAT
CVE-2002-0059inflateEnd to release memory more than once
CVE-2004-0797Error handling in inflate and inflateBack causes crash
CVE-2005-1849inftrees.h bug causes crash
CVE-2005-2096Buffer overflow when incomplete code description
CVE-2018-25032Memory corruption when compressing if the input has many distant matches.
GH-361Test case for overlapping matches
GH-364Test case for switching compression levels
GH-382Test case for deflateEnd returning -3 in deflate quick

Copying

Some of the files in test are licensed differently:

  • test/data/fireworks.jpeg is Copyright 2013 Steinar H. Gunderson, and is licensed under the Creative Commons Attribution 3.0 license (CC-BY-3.0). See https://creativecommons.org/licenses/by/3.0/ for more information.

  • test/data/paper-100k.pdf is an excerpt (bytes 92160 to 194560) from the paper “Combinatorial Modeling of Chromatin Features Quantitatively Predicts DNA Replication Timing in Drosophila” by Federico Comoglio and Renato Paro, which is licensed under the CC-BY license. See https://www.ploscompbiol.org/static/license for more information.

  • test/data/lcet10.txt is from Project Gutenberg. It does not have expired copyright, but is still in the public domain according to the license information. (https://www.gutenberg.org/ebooks/53).

  • test/GH-382/defneg3.dat was the smallest file generated by Nathan Moinvaziri that reproduced GH-382. It is licensed under the terms of the zlib license.