1. 15 Dec, 2018 3 commits
  2. 14 Dec, 2018 1 commit
  3. 26 Nov, 2018 7 commits
  4. 25 Nov, 2018 8 commits
  5. 14 Nov, 2018 2 commits
  6. 13 Nov, 2018 9 commits
  7. 10 Nov, 2018 3 commits
  8. 09 Nov, 2018 1 commit
  9. 07 Nov, 2018 2 commits
  10. 03 Nov, 2018 1 commit
  11. 24 Oct, 2018 1 commit
  12. 23 Oct, 2018 1 commit
    • Jaak Ristioja's avatar
      agraph, agstrdup(_html)?: Fixed potential null pointer dereferences. · a0c0d580
      Jaak Ristioja authored
      The case where malloc() returns NULL was not checked, leading to the return
      value always being dereferenced.
      
      In libraries, such allocation functions usually just return NULL on failure and
      the caller is expected to check the return value before proceeding. This does
      not appear to be the case for the graphviz library, which just calls exit(1),
      e.g. in agallocu(). While such behavior can unexpectedly exit(1) any program
      using this library, I still opted to use exit(1) instead of returning NULL for
      consistency, and because some callers in graphviz always expect these functions
      to succeed (not checking the return value). It is better to exit with exit(1)
      than with a null pointer dereference error, because at least the atexit() and
      similar handlers will be run.
      a0c0d580
  13. 04 Oct, 2018 1 commit