1. 24 Apr, 2020 1 commit
  2. 10 Apr, 2020 1 commit
  3. 09 Apr, 2020 1 commit
  4. 01 Jan, 2020 1 commit
  5. 02 Dec, 2019 1 commit
  6. 21 Nov, 2019 1 commit
  7. 12 Oct, 2019 2 commits
  8. 29 Sep, 2019 1 commit
  9. 20 Aug, 2019 1 commit
    • Jonathan Briggs's avatar
      Use an int instead of a char · 7f59091d
      Jonathan Briggs authored
      The C character IO functions use an int for most operations, so
      the type should be int for fgetc.
      
      And the variable 'c' is reused to store the strlen() result.
      Using a char type for strlen resulted in negative values whenever
      a header line was longer than 127 bytes.
      
      Here is a sample header line that caused problems:
      x-microsoft-antispam-message-info: aybxZFQCLkTSg3dcgJ5/htFKWNjG+YSDDv+nSqJhvcMwb2hnzVKN1KQn0G0vxYRF7D1aWmkCcHUBLLWq/szFtrbKQ3BvDyr8nRMpr8jVkfWPpXt2np7eZDBBm4pU/TvGa+D8n+YUALZRs+9JliL3TzP8d2LRFDWhGKAQXl/FXwpzBq8mv+hxIiUYBHn0IxdJA1gJIxAZms1tqzec9XLV8sLrPDL0Hu2rHnGbCJLIphSC0abIOH1VTEEdzkbXhS8aSk6636GkCI1f2fN9PVNMj9uWzfIM1gSOeJyro6lQxREwwLMqnLGsf44OEKsqfCsh3yrOixdSBMWx09f3xJVgQBQOovwLCF7INvX6Oexzd8eA8YoHGp/01qVP4cPdd7W2TbxFlK8nMFmjuXdCyw/4If+dJu+uKpMQ2vh69jR7XWg=
      
      After that, 'c' was negative and resulted in reads and writes into
      unallocated memory and finally a segmentation fault.
      7f59091d
  10. 26 Apr, 2019 2 commits
  11. 24 Apr, 2019 3 commits
  12. 12 Dec, 2018 2 commits
  13. 10 Dec, 2018 1 commit
  14. 17 Nov, 2018 1 commit
    • Federico Cuello's avatar
      Fix ypart begin for bpf ranges · b9a41549
      Federico Cuello authored
      It was creating yparts with begin=0 and end==previous_part_begin with
      multipart files. It should start from 1 and next part from previous end
      + 1.
      b9a41549
  15. 09 Sep, 2018 1 commit
  16. 01 Sep, 2018 1 commit
  17. 16 Aug, 2018 1 commit
  18. 31 May, 2018 1 commit
  19. 29 May, 2018 1 commit
  20. 20 May, 2018 2 commits
  21. 30 Apr, 2018 1 commit
  22. 06 Apr, 2018 1 commit
  23. 06 Mar, 2018 1 commit
  24. 04 Mar, 2018 1 commit
  25. 24 Feb, 2018 2 commits
  26. 08 Feb, 2018 2 commits
    • paul@flinders.org's avatar
      Bug 793228 nzb file with empty segment lists crash pan · 29aad7ec
      paul@flinders.org authored
      NZB files which have empty segment lists crash pan (up to 0.144),
      for me typically at the assertion on the last line of
      Parts :: set_parts (around parts.cc line 237).
      
      The problem is that "mc.parts" is not re-initialised for the new
      list of segments if the first segment is not seen, depending on
      the position in the file you will either get an incompletely
      constructed PartBatch used (PartBatch relies on a default
      constructor so packed_mids_len doesn't get initialised) or an
      old list of segments could get re-used.
      29aad7ec
    • paul@flinders.org's avatar
      Bug 793277 Use after free in main() · 27190a52
      paul@flinders.org authored
      The problem is the scope of the return value from data.get_servers()
      which is a std::set of Quarks
      
      The temporary used for this value goes out of scope at the end of
      the statement containing it - within the for loop control
      statement - it is not in scope in the loop body.
      
      The result is that later dereferencing the iterator on line 1158
      accesses memory which has been returned to the heap.
      27190a52
  27. 13 Jan, 2018 1 commit
  28. 07 Jan, 2018 2 commits
  29. 29 Dec, 2017 2 commits
  30. 24 Dec, 2017 1 commit