1. 29 Sep, 2019 2 commits
  2. 31 Jul, 2019 1 commit
  3. 29 Jul, 2019 1 commit
  4. 24 Jul, 2019 2 commits
  5. 21 Apr, 2017 3 commits
    • Ikey Doherty's avatar
      Merge pull request #62 from popovich-sergei/master · cbc2d0e4
      Ikey Doherty authored
      update: Compare computed vs expected sha256 digit string ignoring case
      cbc2d0e4
    • Ikey Doherty's avatar
      Merge pull request #61 from petermarko/fix/sqlite-free · b2055811
      Ikey Doherty authored
      Fix freeing memory allocated by sqlite
      b2055811
    • Sergey Popovich's avatar
      update: Compare computed vs expected sha256 digit string ignoring case · b0426e63
      Sergey Popovich authored
      We produce sha256 digest string using %x snprintf()
      qualifier for each byte of digest which uses alphabetic
      characters from "a" to "f" in lower case to represent
      integer values from 10 to 15.
      
      Previously all of the NVD META files supply sha256
      digest string for corresponding XML file in lower case.
      
      However due to some reason this changed recently to
      provide digest digits in upper case causing fetched
      data consistency checks to fail. This prevents database
      from being updated periodically.
      
      While commit c4f6e945
      
       (update: Do not treat sha256 failure
      as fatal if requested) adds useful option to skip
      digest validation at all and thus provides workaround for
      this situation, it might be unacceptable for some
      deployments where we need to ensure that downloaded
      data is consistent before start parsing it and update
      SQLite database.
      
      Use strcasecmp() to compare two digest strings case
      insensitively and addressing this case.
      Signed-off-by: default avatarSergey Popovich <popovich_sergei@mail.ua>
      b0426e63
  6. 13 Apr, 2017 1 commit
  7. 23 Feb, 2017 1 commit
  8. 16 Feb, 2017 10 commits
  9. 08 Oct, 2016 1 commit
  10. 01 Sep, 2016 1 commit
  11. 26 Aug, 2016 1 commit
  12. 23 Aug, 2016 5 commits
  13. 08 Aug, 2016 1 commit
  14. 18 Apr, 2016 4 commits
  15. 11 Mar, 2016 3 commits
  16. 01 Mar, 2016 2 commits
  17. 22 Feb, 2016 1 commit