1. 07 Jun, 2016 2 commits
    • coverity: model functions printing into git_buf · 4d8fe1cd
      The `git_buf` structure seems to be too complicated to correctly
      grasp for Coverity. As such, add simpler models trying to guide
      Coverity and remove false positives related to these functions.
      Patrick Steinhardt committed
    • coverity: add user model · 956f1e23
      The static analysis engine coverity allows for user models
      overriding how it treats functions when analyzing code. Like
      this, one can greatly reduce the rate of false positives and thus
      make it easier to spot actual errors.
      
      Add a user model that overrides function models for `git_buf_len`
      and `git_vector_insert`, which together amount for a majority of
      false positives.
      Patrick Steinhardt committed